SingletonDependencyObjectTInterface Class |
Namespace: Crosser.Resolve.Model
public class SingletonDependencyObject<TInterface> : DependencyObject<TInterface>
The SingletonDependencyObjectTInterface type exposes the following members.
Name | Description | |
---|---|---|
SingletonDependencyObjectTInterface |
Ctor
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get |
If Enabled is true the singelton will be returned.
(Overrides DependencyObjectTInterfaceGet.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
See Reset (Overrides DependencyObjectTInterfaceReset.) | |
Set |
Creates a new singleton.
If there is a existing instance for the type and rewriting is not allowed the new mapping will not be set
Throws exception if mapping is not allowed and ThrowErrorOnDeniedMapping is true
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |