public static TypeToGet get_an_instance_of <TypeToGet>() { if (the_container == null) { throw new NullReferenceException("The container has not been initialized yet, can't return anything."); } return(the_container.Resolve <TypeToGet>()); }
public static TypeToGet get_an_instance_of <TypeToGet>() { return(the_container.Resolve <TypeToGet>()); }