public Type GetImplementType(Type interfaceType) { if (IsRegisteredImplement(interfaceType)) { return(interfaceTable[interfaceType]); } throw IOCException.NotRegisteredException(interfaceType); }
public object GetSingleton(Type interfaceType) { if (IsRegisteredSingleton(interfaceType)) { return(singletonTable[interfaceType]); } throw IOCException.NotRegisteredException(interfaceType); }