/// <inheritdoc /> public object Get( Type requestedType, CustomScopeObject customScope ) { throw new NotImplementedException(); }
public List <T> GetAll <T>(CustomScopeObject customScope) { //return ((IResolution<T>)this).GetAll( // new ResolutionRequest<CarcassCluster, T>( // true, // customScope // ) // ); if (this is IResolution <T> r) { return(r.GetAll( new ResolutionRequest <CarcassCluster, T>( true, customScope ) )); } else { throw new DpdtException( DpdtExceptionTypeEnum.NoBindingAvailable, $"No bindings available for {typeof(T).FullName}", typeof(T).FullName ); } }
/// <inheritdoc /> public IEnumerable <object> GetAll( Type requestedType, CustomScopeObject scope ) { throw new NotImplementedException(); }
public IEnumerable <object> GetAll(Type requestedType, CustomScopeObject scope) { var result = _typeContainerGetAll.GetGetObject( requestedType, new ResolutionRequest <CarcassCluster>( true, requestedType, scope ) ); return((IEnumerable <object>)result); }
public object Get(System.Type requestedType, CustomScopeObject scope) { var result = _typeContainerGet.GetGetObject( requestedType, new ResolutionRequest <CarcassCluster>( false, requestedType, scope ) ); return(result); }
public T Get <T>(CustomScopeObject customScope) { //return ((IResolution<T>)this).Get( // new ResolutionRequest<CarcassCluster, T>( // false, // customScope // ) // ); if (this is IResolution <T> r) { return(r.Get( new ResolutionRequest <CarcassCluster, T>( false, customScope ) )); } else { return(RaiseNoBindingAvailable <T>()); } }
IEnumerable <object> IResolution.GetAll(Type requestedType, CustomScopeObject customScope) { throw new NotImplementedException(); }
List <T> IResolution.GetAll <T>(CustomScopeObject customScope) { throw new NotImplementedException(); }
object IResolution.Get(Type requestedType, CustomScopeObject customScope) { throw new NotImplementedException(); }
public List <T1> GetAll <T1>(CustomScopeObject customScope) { throw new NotImplementedException(); }
public T1 Get <T1>(CustomScopeObject customScope) { throw new NotImplementedException(); }