Table of Contents

Struct Match

Namespace
ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
Assembly
ICSharpCode.Decompiler.dll

Represents the result of a pattern matching operation.

public struct Match
Inherited Members

Properties

Success

public bool Success { get; }

Property Value

bool

Methods

Add(string, INode)

public void Add(string groupName, INode node)

Parameters

groupName string
node INode

Get(string)

public IEnumerable<INode> Get(string groupName)

Parameters

groupName string

Returns

IEnumerable<INode>

Get<T>(string)

public IEnumerable<T> Get<T>(string groupName) where T : INode

Parameters

groupName string

Returns

IEnumerable<T>

Type Parameters

T

Has(string)

public bool Has(string groupName)

Parameters

groupName string

Returns

bool