CreateCustomRestrictionEventArgs

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

Additional information for create CreateCustomRestriction event.

public class CreateCustomRestrictionEventArgs : EventArgs

Inheritance

objectEventArgsCreateCustomRestrictionEventArgs

Inherited Members

EventArgs.Empty, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CreateCustomRestrictionEventArgs(string)

Generate a new instance of class.

public CreateCustomRestrictionEventArgs(string restrictionName)

Parameters

NameDescription

restrictionName string

The name of the restriction to create.

Exceptions

NameDescription

Thrown when one or more required arguments are null.

Properties

Restriction

Sets the restriction object.

public Restriction Restriction { get; set; }

Property Value

Restriction

RestrictionName

Gets the name of the restriction to create.

public string RestrictionName { get; }

Property Value

string

Last updated