Class ImagesModule
- Namespace
- HeyBox
- Assembly
- HeyBox.Net.Core.dll
图片模块,可用于 ICard 中。
public class ImagesModule : IModule, IEquatable<ImagesModule>, IEquatable<IModule>
- Inheritance
-
ImagesModule
- Implements
- Inherited Members
- Extension Methods
Properties
Images
获取图片模块的图片链接。
public ImmutableArray<ImageNode> Images { get; }
Property Value
Type
获取模块的类型。
public ModuleType Type { get; }
Property Value
Methods
Equals(ImagesModule?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ImagesModule? imagesModule)
Parameters
imagesModule
ImagesModule
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 ==(ImagesModule, ImagesModule)
判定两个 ImagesModule 是否相等。
public static bool operator ==(ImagesModule left, ImagesModule right)
Parameters
left
ImagesModuleright
ImagesModule
Returns
- bool
如果两个 ImagesModule 相等,则为
true
;否则为false
。
operator !=(ImagesModule, ImagesModule)
判定两个 ImagesModule 是否不相等。
public static bool operator !=(ImagesModule left, ImagesModule right)
Parameters
left
ImagesModuleright
ImagesModule
Returns
- bool
如果两个 ImagesModule 不相等,则为
true
;否则为false
。