Click or drag to resize

SettingsBase Methods

The SettingsBase type exposes the following members.

Methods
  Name Description
Protected method CreateSetting Implementor should create setting in configuration file (or other location).
Public method CreateValue Adds a setting to the application's configuration file, if it doesn't already exist.
Protected method DeriveDefaultValue Attempts to get best default value for given member.
Public method Dispose() Releases all the resources used by the CategorizedSettingsBase object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the CategorizedSettingsBase object and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method ExecuteActionForFields Executes specified action over all public derived class member fields.
Protected method ExecuteActionForProperties Executes specified action over all public derived class properties.
Protected method Finalize Releases the unmanaged resources before the CategorizedSettingsBase object is reclaimed by GC.
(Overrides Object.Finalize())
Protected method GetAttributeValue<TAttribute, TValue> Attempts to find specified attribute and return specified value.
Public method GetDefaultValue Gets the default value specified by DefaultValueAttribute, if any, applied to the specified field or property.
Public method GetEncryptKey Gets the optional private encryption key specified by EncryptSettingAttribute, if any, applied to the specified field or property.
Public method GetEncryptStatus Gets the encryption status specified by EncryptSettingAttribute, if any, applied to the specified field or property.
Public method GetEnumerator Returns an enumerator based on String elements that iterates over the field and property names of this class that are targeted for serialization to the configuration file.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetSettingName Gets setting name to use for specified field or property.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetValue(String, Type) Gets the application's configuration file setting converted to the given type.
Public method GetValue<T> (String) Gets the application's configuration file setting converted to the given type.
Public method GetValue<T> (String, T) Copies the specified application setting into the given value.
Protected method Initialize Initializes configuration settings from derived class fields or properties.
Public method Load Loads configuration file into setting fields.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method PersistSettings Implementor should persist any pending changes to configuration file (or other location).
Public method RestoreDefaultSettings Restores the default settings of the configuration file.
Protected method RetrieveSetting Implementor should retrieve setting from configuration file (or other location).
Public method Save Saves setting fields into configuration file.
Public method SetValue Copies the given value into the specified application setting.
Protected method StoreSetting Implementor should store setting to configuration file (or other location).
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method AllParallel<String> Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctBy<String, TKey> Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method Majority<String> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Majority<String> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<String, TKey> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<String, TKey> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Max<String> Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Max<String> Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxBy<String, TKey> Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Median<String> Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Middle<String> Gets the middle item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Min<String> Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Min<String> Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinBy<String, TKey> Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Minority<String> Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method Minority<String> Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<String, TKey> Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<String, TKey> Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviation<String> Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<String> Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<String> Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedString<String> Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<String> Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<String> Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedList<String> Gets a PagedList<T> to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also