This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.MicrosoftTeams.
Summary
Message structure used by
MicrosoftTeamsAliases
.
- Assembly
- Cake
.MicrosoftTeams .dll - Namespace
- Cake
.MicrosoftTeams - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["MicrosoftTeamsMessageCard"]
class Type type-node
Syntax
public sealed class MicrosoftTeamsMessageCard
Constructors
Name | Summary |
---|---|
Microsoft |
Properties
Name | Value | Summary |
---|---|---|
potentialAction | ICollection |
Contains a list of actions to display in the card.
|
sections | ICollection |
Contains a list of sections to display in the card.
|
summary | string |
A string used for summarizing card content. This will be shown as the message subject. This is required if the text parameter isn't populated.
|
text | string |
The main text of the card. This will be rendered below the sender information and optional title, and above any sections or actions present.
|
themeColor | string |
Specifies a custom brand color for the card. The color will be displayed in a non-obtrusive manner.
|
title | string |
A title for the Connector message. Shown at the top of the message.
|
Methods
Name | Value | Summary |
---|---|---|
ToString |
string |
Converts
MicrosoftTeamsMessageCard to an string representation.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|