LicenseRestrictionProviderAttribute

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Attribute for license restriction provider. This class cannot be inherited.

[AttributeUsage(AttributeTargets.Class)]
public sealed class LicenseRestrictionProviderAttribute : Attribute

Inheritance

objectAttributeLicenseRestrictionProviderAttribute

Inherited Members

Attribute.GetCustomAttributes(MemberInfo, Type), Attribute.GetCustomAttributes(MemberInfo, Type, bool), Attribute.GetCustomAttributes(MemberInfo), Attribute.GetCustomAttributes(MemberInfo, bool), Attribute.IsDefined(MemberInfo, Type), Attribute.IsDefined(MemberInfo, Type, bool), Attribute.GetCustomAttribute(MemberInfo, Type), Attribute.GetCustomAttribute(MemberInfo, Type, bool), Attribute.GetCustomAttributes(ParameterInfo), Attribute.GetCustomAttributes(ParameterInfo, Type), Attribute.GetCustomAttributes(ParameterInfo, Type, bool), Attribute.GetCustomAttributes(ParameterInfo, bool), Attribute.IsDefined(ParameterInfo, Type), Attribute.IsDefined(ParameterInfo, Type, bool), Attribute.GetCustomAttribute(ParameterInfo, Type), Attribute.GetCustomAttribute(ParameterInfo, Type, bool), Attribute.GetCustomAttributes(Module, Type), Attribute.GetCustomAttributes(Module), Attribute.GetCustomAttributes(Module, bool), Attribute.GetCustomAttributes(Module, Type, bool), Attribute.IsDefined(Module, Type), Attribute.IsDefined(Module, Type, bool), Attribute.GetCustomAttribute(Module, Type), Attribute.GetCustomAttribute(Module, Type, bool), Attribute.GetCustomAttributes(Assembly, Type), Attribute.GetCustomAttributes(Assembly, Type, bool), Attribute.GetCustomAttributes(Assembly), Attribute.GetCustomAttributes(Assembly, bool), Attribute.IsDefined(Assembly, Type), Attribute.IsDefined(Assembly, Type, bool), Attribute.GetCustomAttribute(Assembly, Type), Attribute.GetCustomAttribute(Assembly, Type, bool), Attribute.Equals(object?), Attribute.GetHashCode(), Attribute.Match(object?), Attribute.IsDefaultAttribute(), Attribute.TypeId, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LicenseRestrictionProviderAttribute()

Default constructor.

public LicenseRestrictionProviderAttribute()

LicenseRestrictionProviderAttribute(Type)

Constructor.

public LicenseRestrictionProviderAttribute(Type type)

Parameters

NameDescription

type Type

The type.

LicenseRestrictionProviderAttribute(string)

Constructor.

public LicenseRestrictionProviderAttribute(string name)

Parameters

NameDescription

name string

The name.

Properties

LicenseRestrictionProvider

Gets the license restriction provider.

public Type LicenseRestrictionProvider { get; }

Property Value

Type

RestrictionProviderName

Gets the name of the restriction provider.

public string RestrictionProviderName { get; }

Property Value

string

RestrictionProviderType

Gets the type of the restriction provider.

public Type RestrictionProviderType { get; }

Property Value

Type

Methods

Equals(object)

Returns a value that indicates whether this instance is equal to a specified object.

public override bool Equals(object obj)

Parameters

NameDescription

obj object

An to compare with this instance or null.

Returns

NameDescription

true if obj equals the type and value of this instance; otherwise,

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

NameDescription

A 32-bit signed integer hash code.

Last updated