Пример #1
0
        private IExtendedCloudIdentityProvider GetProvider(CloudIdentity identity)
        {
            IExtendedCloudIdentityProvider result = _factory.Get(identity);

            if (result == null && identity == null)
            {
                throw new InvalidOperationException("No identity was specified for the request, and no default is available for the provider.");
            }

            return(result);
        }
 private IExtendedCloudIdentityProvider GetProvider(CloudIdentity identity)
 {
     return(_factory.Get(identity));
 }