Share via


ComposeFile.Extensions Property

Definition

Represents a collection of user-defined extension fields that can be added to the Compose file. These extensions are represented as a dictionary where the key is a string identifier for the extension, and the value is an object that holds the custom data relevant to the extension. This allows flexibility for including additional metadata or configuration outside the scope of standard Compose file specifications.

[YamlDotNet.Serialization.YamlMember(Alias="extensions", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,object> Extensions { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="extensions", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Extensions : System.Collections.Generic.Dictionary<string, obj> with get, set
Public Property Extensions As Dictionary(Of String, Object)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to