internal static GetterDelegate AuthenticationTypeGetterDelegate() { return(delegate(IPropertyBag bag) { if (!AcceptedDomainSchema.IsDomainAssociatedWithLiveNamespace(bag)) { return null; } return AcceptedDomainSchema.GetRawAuthenticationType(bag); }); }