Table of Contents

Class DividerModule

Namespace
Kook
Assembly
Kook.Net.Core.dll

A divider module that can be used in an ICard.

public class DividerModule : IModule, IEquatable<DividerModule>, IEquatable<IModule>
Inheritance
DividerModule
Implements
Inherited Members
Extension Methods

Properties

Type

Gets the type of the module.

public ModuleType Type { get; }

Property Value

ModuleType

A ModuleType value that represents the type of the module.

Methods

Equals(DividerModule?)

Determines whether the specified DividerModule is equal to the current DividerModule.

public bool Equals(DividerModule? dividerModule)

Parameters

dividerModule DividerModule

The DividerModule to compare with the current DividerModule.

Returns

bool

true if the specified DividerModule is equal to the current DividerModule; otherwise, false.

Equals(object?)

Determines whether the specified DividerModule is equal to the current DividerModule.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current DividerModule.

Returns

bool

true if the specified DividerModule is equal to the current DividerModule; otherwise, false.

Remarks

If the object passes is an DividerModule, Equals(DividerModule?) will be called to compare the 2 instances.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(DividerModule, DividerModule)

Determines whether the specified DividerModule is equal to the current DividerModule.

public static bool operator ==(DividerModule left, DividerModule right)

Parameters

left DividerModule
right DividerModule

Returns

bool

true if the specified DividerModule is equal to the current DividerModule; otherwise, false.

operator !=(DividerModule, DividerModule)

Determines whether the specified DividerModule is not equal to the current DividerModule.

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

Parameters

left DividerModule
right DividerModule

Returns

bool

true if the specified DividerModule is not equal to the current DividerModule; otherwise, false.