internal bool IsGlobal() { ObjectScopeAttribute customAttribute = base.GetType().GetTypeInfo().GetCustomAttribute <ObjectScopeAttribute>(); return(customAttribute != null && customAttribute.ConfigScope == ConfigScopes.Global); }
internal bool IsApplicableToTenant(out ObjectScopeAttribute objectScope) { objectScope = base.GetType().GetTypeInfo().GetCustomAttribute <ObjectScopeAttribute>(); return(objectScope != null && objectScope.IsTenant); }