Class CardExtensions
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
public static class CardExtensions
- Inheritance
-
CardExtensions
- Inherited Members
Methods
ToBuilder(ActionGroupModule)
Converts the ActionGroupModule to a ActionGroupModuleBuilder with the same properties.
public static ActionGroupModuleBuilder ToBuilder(this ActionGroupModule entity)
Parameters
entity
ActionGroupModule
Returns
ToBuilder(AudioModule)
Converts the AudioModule to an AudioModuleBuilder with the same properties.
public static AudioModuleBuilder ToBuilder(this AudioModule entity)
Parameters
entity
AudioModule
Returns
ToBuilder(ButtonElement)
Converts the ButtonElement to a ButtonElementBuilder with the same properties.
public static ButtonElementBuilder ToBuilder(this ButtonElement entity)
Parameters
entity
ButtonElement
Returns
ToBuilder(Card)
Converts the Card to a CardBuilder with the same properties.
public static CardBuilder ToBuilder(this Card entity)
Parameters
entity
Card
Returns
ToBuilder(ContainerModule)
Converts the ContainerModule to a ContainerModuleBuilder with the same properties.
public static ContainerModuleBuilder ToBuilder(this ContainerModule entity)
Parameters
entity
ContainerModule
Returns
ToBuilder(ContextModule)
Converts the ContextModule to a ContextModuleBuilder with the same properties.
public static ContextModuleBuilder ToBuilder(this ContextModule entity)
Parameters
entity
ContextModule
Returns
ToBuilder(CountdownModule)
Converts the CountdownModule to a CountdownModuleBuilder with the same properties.
public static CountdownModuleBuilder ToBuilder(this CountdownModule entity)
Parameters
entity
CountdownModule
Returns
ToBuilder(DividerModule)
Converts the DividerModule to a DividerModuleBuilder with the same properties.
public static DividerModuleBuilder ToBuilder(this DividerModule _)
Parameters
Returns
ToBuilder(FileModule)
Converts the FileModule to a FileModuleBuilder with the same properties.
public static FileModuleBuilder ToBuilder(this FileModule entity)
Parameters
entity
FileModule
Returns
ToBuilder(HeaderModule)
Converts the HeaderModule to a HeaderModuleBuilder with the same properties.
public static HeaderModuleBuilder ToBuilder(this HeaderModule entity)
Parameters
entity
HeaderModule
Returns
ToBuilder(ICard)
Converts the ICard to an ICardBuilder with the same properties.
public static ICardBuilder ToBuilder(this ICard entity)
Parameters
entity
ICard
Returns
ToBuilder(IElement)
Converts the IElement to a IElementBuilder with the same properties.
public static IElementBuilder ToBuilder(this IElement entity)
Parameters
entity
IElement
Returns
ToBuilder(IModule)
Converts the IModule to a IModuleBuilder with the same properties.
public static IModuleBuilder ToBuilder(this IModule entity)
Parameters
entity
IModule
Returns
ToBuilder(ImageElement)
Converts the ImageElement to an ImageElementBuilder with the same properties.
public static ImageElementBuilder ToBuilder(this ImageElement entity)
Parameters
entity
ImageElement
Returns
ToBuilder(ImageGroupModule)
Converts the ImageGroupModule to a ImageGroupModuleBuilder with the same properties.
public static ImageGroupModuleBuilder ToBuilder(this ImageGroupModule entity)
Parameters
entity
ImageGroupModule
Returns
ToBuilder(InviteModule)
Converts the InviteModule to an InviteModuleBuilder with the same properties.
public static InviteModuleBuilder ToBuilder(this InviteModule entity)
Parameters
entity
InviteModule
Returns
ToBuilder(KMarkdownElement)
Converts the KMarkdownElement to a KMarkdownElementBuilder with the same properties.
public static KMarkdownElementBuilder ToBuilder(this KMarkdownElement entity)
Parameters
entity
KMarkdownElement
Returns
ToBuilder(ParagraphStruct)
Converts the ParagraphStruct to a ParagraphStructBuilder with the same properties.
public static ParagraphStructBuilder ToBuilder(this ParagraphStruct entity)
Parameters
entity
ParagraphStruct
Returns
ToBuilder(PlainTextElement)
Converts the PlainTextElement to a PlainTextElementBuilder with the same properties.
public static PlainTextElementBuilder ToBuilder(this PlainTextElement entity)
Parameters
entity
PlainTextElement
Returns
ToBuilder(SectionModule)
Converts the SectionModule to a SectionModuleBuilder with the same properties.
public static SectionModuleBuilder ToBuilder(this SectionModule entity)
Parameters
entity
SectionModule
Returns
ToBuilder(VideoModule)
Converts the VideoModule to a VideoModuleBuilder with the same properties.
public static VideoModuleBuilder ToBuilder(this VideoModule entity)
Parameters
entity
VideoModule