The ServiceLocator<(Of <(<'TContract, TSelf>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ServiceLocator<(Of <(<'TContract, TSelf>)>)> | DotNetNuke.Framework.ServiceLocator`2 |
Methods
| Name | Description | |
|---|---|---|
| ClearInstance |
Clears the current instance, a new instance will be initialized when next requested
| |
| Equals | (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.) | |
| GetFactory | ||
| GetHashCode | Serves as a hash function for a particular type. (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.) | |
| SetTestableInstance |
Registers an instance to use for the Singleton
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |