Package system.configuration
Class ApplicationSettingsBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.configuration.SettingsBase
-
- system.configuration.ApplicationSettingsBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ApplicationSettingsBase extends SettingsBase
The base .NET class managing System.Configuration.ApplicationSettingsBase, System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.ApplicationSettingsBase
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Configuration.ConfigurationManagerstatic java.lang.String
className
Qualified class name: System.Configuration.ApplicationSettingsBasestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ApplicationSettingsBase()
ApplicationSettingsBase(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChanged(PropertyChangedEventHandler handler)
void
addSettingChanging(SettingChangingEventHandler handler)
void
addSettingsLoaded(SettingsLoadedEventHandler handler)
void
addSettingsSaving(SettingsSavingEventHandler handler)
static ApplicationSettingsBase
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoApplicationSettingsBase
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetObject
GetPreviousVersion(java.lang.String propertyName)
java.lang.String
getSettingsKey()
void
Reload()
void
removePropertyChanged(PropertyChangedEventHandler handler)
void
removeSettingChanging(SettingChangingEventHandler handler)
void
removeSettingsLoaded(SettingsLoadedEventHandler handler)
void
removeSettingsSaving(SettingsSavingEventHandler handler)
void
Reset()
void
Save()
void
setJCOInstance(JCObject instance)
void
setSettingsKey(java.lang.String SettingsKey)
void
Upgrade()
-
Methods inherited from class system.configuration.SettingsBase
getContext, getIsSynchronized, getProperties, getPropertyValues, getProviders, Initialize, Synchronized
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Configuration.ConfigurationManager- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Configuration.ApplicationSettingsBase- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationSettingsBase
public ApplicationSettingsBase(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ApplicationSettingsBase
public ApplicationSettingsBase() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classSettingsBase
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classSettingsBase
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classSettingsBase
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classSettingsBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classSettingsBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classSettingsBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ApplicationSettingsBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoApplicationSettingsBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ApplicationSettingsBase
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetPreviousVersion
public NetObject GetPreviousVersion(java.lang.String propertyName) throws java.lang.Throwable, SettingsPropertyNotFoundException, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, FileNotFoundException, FileLoadException, SerializationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, EndOfStreamException, XmlException, NotImplementedException, MissingMethodException, TypeLoadException
- Throws:
java.lang.Throwable
SettingsPropertyNotFoundException
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
FileNotFoundException
FileLoadException
SerializationException
IndexOutOfRangeException
ArrayTypeMismatchException
FormatException
EndOfStreamException
XmlException
NotImplementedException
MissingMethodException
TypeLoadException
-
Reload
public void Reload() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
-
Reset
public void Reset() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
-
Save
public void Save() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, IndexOutOfRangeException
- Overrides:
Save
in classSettingsBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
IndexOutOfRangeException
-
Upgrade
public void Upgrade() throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException
-
getSettingsKey
public java.lang.String getSettingsKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSettingsKey
public void setSettingsKey(java.lang.String SettingsKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
addPropertyChanged
public void addPropertyChanged(PropertyChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePropertyChanged
public void removePropertyChanged(PropertyChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSettingChanging
public void addSettingChanging(SettingChangingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSettingChanging
public void removeSettingChanging(SettingChangingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSettingsLoaded
public void addSettingsLoaded(SettingsLoadedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSettingsLoaded
public void removeSettingsLoaded(SettingsLoadedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSettingsSaving
public void addSettingsSaving(SettingsSavingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSettingsSaving
public void removeSettingsSaving(SettingsSavingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-