ProviderConfiguration Class

Namespace:
Weavy.Core.Configuration
Assembly:
Weavy.Core.dll

Represents the configuration elements associated with a provider.

public class ProviderConfiguration : ConfigurationElement
Inheritance:
System.Object → ProviderConfiguration

Constructors

ProviderConfiguration() Initializes a new instance of the ProviderConfiguration class with default values.
ProviderConfiguration(String) Initializes a new instance of the ProviderConfiguration class with the specified type.

Properties

Parameters Gets a collection of user-defined parameters for the provider.
Properties Return the initialized property bag for the configuration element.
Provider Gets or sets the assembly qualified type name of the provider.

Methods

OnDeserializeUnrecognizedAttribute(string, string) Gets a value indicating whether an unknown attribute is encountered during deserialization.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.