public sealed class NotificationRecipientsSourceResolver : Resolver<Type, INotificationRecipientsSource>,
INotificationRecipientsSourceResolver, IResolver<Type, INotificationRecipientsSource>, IReadOnlyResolver<Type, INotificationRecipientsSource>Public NotInheritable Class NotificationRecipientsSourceResolver
Inherits Resolver(Of Type, INotificationRecipientsSource)
Implements INotificationRecipientsSourceResolver, IResolver(Of Type, INotificationRecipientsSource),
IReadOnlyResolver(Of Type, INotificationRecipientsSource)public ref class NotificationRecipientsSourceResolver sealed : public Resolver<Type^, INotificationRecipientsSource^>,
INotificationRecipientsSourceResolver, IResolver<Type^, INotificationRecipientsSource^>, IReadOnlyResolver<Type^, INotificationRecipientsSource^>[<SealedAttribute>]
type NotificationRecipientsSourceResolver =
class
inherit Resolver<Type, INotificationRecipientsSource>
interface INotificationRecipientsSourceResolver
interface IResolver<Type, INotificationRecipientsSource>
interface IReadOnlyResolver<Type, INotificationRecipientsSource>
end| NotificationRecipientsSourceResolver | Объект для получения источника получателей уведомления по параметру. |
| TypesByKey |
Типы значений, запрашиваемых из UnityContainer по имени.
Если объект отсутствует, то типы запрашиваться не будут.
(Унаследован от ResolverTKey, TValue) |
| UnityContainer |
Контейнер Unity, используемый для получения зарегистрированных значений.
(Унаследован от ResolverTKey, TValue) |
| AutoResolveKey |
Автоматически вычисляет значение ключа из переданного типа, если ключ не задан. Вызывается перед методом FixKey(TKey).
Возвращает вычисленное значение ключа, если это возможно, или текущее значение, если невозможно. Исключение не выбрасывает.
(Унаследован от ResolverTKey, TValue) |
| Clear |
Удаляет информацию по всем выполненным регистрациям.
(Унаследован от ResolverTKey, TValue) |
| 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) |
| FixKey |
Проверяет ключ на валидность. Вызывается после метода AutoResolveKey(TKey, Type).
Возвращает исправленное значение ключа, если это возможно, или исключение, если невозможно.
(Унаследован от ResolverTKey, TValue) |
| GetAllKeys |
Возвращает список всех зарегистрированных ключей.
(Унаследован от ResolverTKey, TValue) |
| 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) |
| Register(Type, TKey) |
Регистрирует тип объекта по заданному ключу. Получение возможно только для зарегистрированных типов.
(Унаследован от ResolverTKey, TValue) |
| RegisterTConcrete(TKey) |
Регистрирует тип объекта по заданному ключу. Получение возможно только для зарегистрированных типов.
(Унаследован от ResolverTKey, TValue) |
| RegisterParameterTParam, TSource | Метод для регистрации источника для получения шаблонов уведомлений для типа параметра. |
| Remove |
Удаляет информацию по регистрации с заданным ключом.
(Унаследован от ResolverTKey, TValue) |
| Resolve |
Получает экземпляр заданного сервиса по указанному ключу.
(Унаследован от ResolverTKey, TValue) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| TryGetSource | Метод для получения источника получателей уведомления по переданному параметру. |
| TryResolve |
Получает экземпляр заданного сервиса по указанному ключу или null, если сервис не был зарегистрирован.
(Унаследован от ResolverTKey, TValue) |