using System.Globalization; using System.Linq; namespace InABox.Core { public abstract class DisabledSecurityDescriptor : BaseSecurityDescriptor where TLicense : LicenseToken { public override bool Value => false; } public abstract class DisabledSecurityDescriptor : DisabledSecurityDescriptor where TLicense : LicenseToken where TEntity : Entity, new() { public override string Category => new Inflector.Inflector(new CultureInfo("en")) .Pluralize( typeof(TEntity).EntityName().Split('.').Last().SplitCamelCase() ); } public abstract class DisabledSecurityDescriptor : DisabledSecurityDescriptor where TLicense : LicenseToken where TEntity1 : Entity, new() where TEntity2 : Entity, new() { } }