Class DividerModule
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
分割线模块,可用于 ICard 中。
public class DividerModule : IModule, IEquatable<DividerModule>, IEquatable<IModule>
- Inheritance
-
DividerModule
- Implements
- Inherited Members
- Extension Methods
Properties
Type
获取模块的类型。
public ModuleType Type { get; }
Property Value
Methods
Equals(DividerModule?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DividerModule? dividerModule)
Parameters
dividerModule
DividerModule
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(DividerModule, DividerModule)
判定两个 DividerModule 是否相等。
public static bool operator ==(DividerModule left, DividerModule right)
Parameters
left
DividerModuleright
DividerModule
Returns
- bool
如果两个 DividerModule 相等,则为
true
;否则为false
。
operator !=(DividerModule, DividerModule)
判定两个 DividerModule 是否不相等。
public static bool operator !=(DividerModule left, DividerModule right)
Parameters
left
DividerModuleright
DividerModule
Returns
- bool
如果两个 DividerModule 不相等,则为
true
;否则为false
。