Interface IRouteMatchContainer
Represents a container for temporarily storing CustomId wild card matches of a component.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IRouteMatchContainer
Properties
| Improve this Doc View SourceSegmentMatches
Gets the collection of captured route segments in this container.
Declaration
IEnumerable<IRouteSegmentMatch> SegmentMatches { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IRouteSegmentMatch> | A collection of captured route segments. |
Methods
| Improve this Doc View SourceSetSegmentMatches(IEnumerable<IRouteSegmentMatch>)
Sets the SegmentMatches property of this container.
Declaration
void SetSegmentMatches(IEnumerable<IRouteSegmentMatch> segmentMatches)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRouteSegmentMatch> | segmentMatches | The collection of captured route segments. |