Table of Contents

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

formFieldName string

Name used for

niceName string
errorMessage string

Properties

ErrorMessage

Message describing whats gone wrong

public readonly string ErrorMessage { get; }

Property Value

string

FormFieldName

Field name related to form

public readonly string FormFieldName { get; }

Property Value

string

NiceName

Name that is used for UI

public readonly string NiceName { get; }

Property Value

string

Methods

Equals(UserManagementFormField)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(UserManagementFormField other)

Parameters

other UserManagementFormField

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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

left UserManagementFormField
right UserManagementFormField

Returns

bool

operator !=(UserManagementFormField, UserManagementFormField)

public static bool operator !=(UserManagementFormField left, UserManagementFormField right)

Parameters

left UserManagementFormField
right UserManagementFormField

Returns

bool
To top