|
@@ -3,17 +3,20 @@ using System.Collections.Generic; |
|
|
namespace Discord |
|
|
namespace Discord |
|
|
{ |
|
|
{ |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Represents a container for temporarily storing CustomId wild card matches of a command name. |
|
|
|
|
|
|
|
|
/// Represents a container for temporarily storing CustomId wild card matches of a component. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
public interface IRouteMatchContainer |
|
|
public interface IRouteMatchContainer |
|
|
{ |
|
|
{ |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Gets the collection of the captured route segments. |
|
|
|
|
|
|
|
|
/// Gets the collection of captured route segments in this container. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
|
|
|
/// <returns> |
|
|
|
|
|
/// A collection of captured route segments. |
|
|
|
|
|
///</returns> |
|
|
IEnumerable<IRouteSegmentMatch> SegmentMatches { get; } |
|
|
IEnumerable<IRouteSegmentMatch> SegmentMatches { get; } |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Sets the <see cref="SegmentMatches"/> propert |
|
|
|
|
|
|
|
|
/// Sets the <see cref="SegmentMatches"/> property of this container. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
/// <param name="segmentMatches">The collection of captured route segments.</param> |
|
|
/// <param name="segmentMatches">The collection of captured route segments.</param> |
|
|
void SetSegmentMatches(IEnumerable<IRouteSegmentMatch> segmentMatches); |
|
|
void SetSegmentMatches(IEnumerable<IRouteSegmentMatch> segmentMatches); |
|
|