public sealed class DefaultConstructorSingletonResolvePolicy : IResolvePolicy,
IExtensionPolicyPublic NotInheritable Class DefaultConstructorSingletonResolvePolicy
Implements IResolvePolicy, IExtensionPolicypublic ref class DefaultConstructorSingletonResolvePolicy sealed : IResolvePolicy,
IExtensionPolicy[<SealedAttribute>]
type DefaultConstructorSingletonResolvePolicy =
class
interface IResolvePolicy
interface IExtensionPolicy
endПолитика зарегистрирована по умолчанию для всех типов расширений.
Объект является синглтоном и доступен посредством свойства Instance.
Для более оптимального создания экземпляров расширений используется объект DefaultConstructorResolvePolicy, который не является синглтоном и может содержать состояние.
| Instance | Экземпляр класса. |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ResolveAsync | Получает экземпляр расширения для ключа типа расширения и типа экземпляра расширения. |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |