Beispiel #1
0
        public object GetObject(params object[] args)
        {
            if (_instance == null)
            {
                _instance = ServiceProviderUtility.CreateInstance <T>(_serviceProvider, args);
            }

            return(_instance);
        }
Beispiel #2
0
 public object GetObject(params object[] args)
 {
     return(ServiceProviderUtility.CreateInstance <T>(_serviceProvider, args));
 }