Struct UserManagementFormField
- Namespace
- Dynamicweb.Frontend.UserManagement
- Assembly
- Dynamicweb.dll
The Structure UMFormField represents entity is used for handling errors related to specific fields
public struct UserManagementFormField : IEquatable<UserManagementFormField>
- Implements
- Inherited Members
Constructors
UserManagementFormField(string, string, string)
Initialize new UMFormField with specified form name, nice name and error message
public UserManagementFormField(string formFieldName, string niceName, string errorMessage)
Parameters
Properties
ErrorMessage
Message describing whats gone wrong
public readonly string ErrorMessage { get; }
Property Value
FormFieldName
Field name related to form
public readonly string FormFieldName { get; }
Property Value
NiceName
Name that is used for UI
public readonly string NiceName { get; }
Property Value
Methods
Equals(UserManagementFormField)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(UserManagementFormField other)
Parameters
otherUserManagementFormFieldAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(UserManagementFormField, UserManagementFormField)
public static bool operator ==(UserManagementFormField left, UserManagementFormField right)
Parameters
leftUserManagementFormFieldrightUserManagementFormField
Returns
operator !=(UserManagementFormField, UserManagementFormField)
public static bool operator !=(UserManagementFormField left, UserManagementFormField right)
Parameters
leftUserManagementFormFieldrightUserManagementFormField