public void Dispose() { IocHelper.Release(Object); }
public DisposableDependencyObjectWrapper(Type type, object argumentsAsAnonymousType) { CheckType(type); Object = (T)IocHelper.Resolve(type, argumentsAsAnonymousType); }
public DisposableDependencyObjectWrapper(object argumentsAsAnonymousType) { Object = IocHelper.Resolve <T>(argumentsAsAnonymousType); }
public DisposableDependencyObjectWrapper(Type type) { CheckType(type); Object = (T)IocHelper.Resolve(type); }
public DisposableDependencyObjectWrapper() { Object = IocHelper.Resolve <T>(); }