Revenj.DictionaryServiceLocator.GetService C# (CSharp) Method

GetService() public method

public GetService ( Type service ) : object
service System.Type
return object
        public object GetService(Type service)
        {
            try
            {
                return Resolve(service, true);
            }
            catch
            {
                return null;
            }
        }