Click or drag to resize

IConfiguration Interface

This interface describes an object which is capable of storing properties. Additionally it provides helper methods, to support type safe access to a limited number of simple types.

Namespace:  Mastersign.Bench.PropertyCollections
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public interface IConfiguration : IPropertyCollection, 
	IPropertySource, IPropertyTarget

The IConfiguration type exposes the following members.

Methods
  NameDescription
Public methodCanGetValue
Checks, whether this object can retrieve the value for the specified property, or not.
(Inherited from IPropertySource.)
Public methodContainsValue
Checks, whether this collection contains the specified property.
(Inherited from IPropertyCollection.)
Public methodGetBooleanValue(String)
Gets the value of a property as a boolean.
Public methodGetBooleanValue(String, Boolean)
Gets the value of a property as a boolean, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetInt32Value(String)
Gets the value of a property as an integer.
Public methodGetInt32Value(String, Int32)
Gets the value of a property as an integer, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetStringListValue(String)
Gets the value of a property as a string array.
Public methodGetStringListValue(String, String)
Gets the value of a property as a string array, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetStringValue(String)
Gets the value of a property as a string.
Public methodGetStringValue(String, String)
Gets the value of a property as a string, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetValue(String)
Gets the value of the specified property.
(Inherited from IPropertySource.)
Public methodGetValue(String, Object)
Gets the value of the specified property, or a given default value, in case the specified property does not exist.
(Inherited from IPropertyCollection.)
Public methodPropertyNames
Gets the names from all existing properties.
(Inherited from IPropertyCollection.)
Public methodResetValue
Resets the specified property.
(Inherited from IPropertyTarget.)
Public methodSetValue(String, Boolean)
Sets a boolean value for the specified property.
Public methodSetValue(String, Int32)
Sets an integer value for the specified property.
Public methodSetValue(String, String)
Sets a string value for the specified property.
Public methodSetValue(String, String)
Sets a string array value for the specified property.
Public methodSetValue(String, Object)
Sets the value of the specified property. If the property did exist until now, it is created.
(Inherited from IPropertyTarget.)
Top
See Also