Maverick.Web.Controllers.IdentityController.GetIdentitySource C# (CSharp) Method

GetIdentitySource() private method

private GetIdentitySource ( string name ) : IdentitySource
name string
return Maverick.Web.Identity.IdentitySource
        private IdentitySource GetIdentitySource(string name)
        {
            if (String.IsNullOrEmpty(name)) {
                return null;
            }
            return (from source in IdentitySources
                    where String.Equals(source.MetadataView.Name, name, StringComparison.OrdinalIgnoreCase)
                    select source.GetExportedObject()).SingleOrDefault();
        }