public class WebUnityProxyHandlerResolver<THandler> : IWebProxyHandlerResolver<THandler>
where THandler : class
Public Class WebUnityProxyHandlerResolver(Of THandler As Class)
Implements IWebProxyHandlerResolver(Of THandler)generic<typename THandler>
where THandler : ref class
public ref class WebUnityProxyHandlerResolver : IWebProxyHandlerResolver<THandler>type WebUnityProxyHandlerResolver<'THandler when 'THandler : not struct> =
class
interface IWebProxyHandlerResolver<'THandler>
endОбъект использует контейнер IUnityContainer для получения и кэширования экземпляров обработчиков THandler, и сортирует их в соответствии с атрибутом OrderAttribute.
Наследники класса могут переопределить логику его методов, в т.ч. изменить возвращаемые обработчики.
| WebUnityProxyHandlerResolverTHandler | Создаёт экземпляр класса с указанием его зависимостей. |
| 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) |
| InvalidateCache | Сбрасывает кэш со списком обработчиков. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ResolveAll | Возвращает список всех зарегистрированных обработчиков типа THandler. |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |