WeightedGroupsRoutingOptions.Groups 属性

定义

获取或设置加权终结点组的集合。

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpointGroup ^> ^ Groups { System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpointGroup ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpointGroup ^> ^ value); };
[Microsoft.Extensions.Options.ValidateEnumeratedItems]
[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpointGroup> Groups { get; set; }
[Microsoft.Extensions.Options.ValidateEnumeratedItems]
[System.ComponentModel.DataAnnotations.Required]
[System.ComponentModel.DataAnnotations.Length(1, 2147483647)]
public System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpointGroup> Groups { get; set; }
[<Microsoft.Extensions.Options.ValidateEnumeratedItems>]
[<System.ComponentModel.DataAnnotations.Required>]
member this.Groups : System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpointGroup> with get, set
[<Microsoft.Extensions.Options.ValidateEnumeratedItems>]
[<System.ComponentModel.DataAnnotations.Required>]
[<System.ComponentModel.DataAnnotations.Length(1, 2147483647)>]
member this.Groups : System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpointGroup> with get, set
Public Property Groups As IList(Of WeightedUriEndpointGroup)

属性值

属性

适用于