Class ValidNameEventArgs
Event arguments for checking a valid name.
Namespace: Evergine.Framework.Helpers
Assembly: Evergine.Framework.dll
Syntax
public sealed class ValidNameEventArgs : EventArgs
Constructors
ValidNameEventArgs(string)
Initializes a new instance of the ValidNameEventArgs class.
Declaration
public ValidNameEventArgs(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The new name. |
Properties
NewName
Gets the new name.
Declaration
public string NewName { get; }
Property Value
Type | Description |
---|---|
string |
Valid
Gets or sets a value indicating whether the new name is valid.
Declaration
public bool Valid { get; set; }
Property Value
Type | Description |
---|---|
bool |