PathSegmentToken.Accept Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Accept(IPathSegmentTokenVisitor) |
Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens. |
Accept<T>(IPathSegmentTokenVisitor<T>) |
Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens. |
Accept(IPathSegmentTokenVisitor)
Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens.
public abstract void Accept (Microsoft.OData.UriParser.IPathSegmentTokenVisitor visitor);
abstract member Accept : Microsoft.OData.UriParser.IPathSegmentTokenVisitor -> unit
Public MustOverride Sub Accept (visitor As IPathSegmentTokenVisitor)
Parameters
- visitor
- IPathSegmentTokenVisitor
An implementation of the visitor interface.
Applies to
Accept<T>(IPathSegmentTokenVisitor<T>)
Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens.
public abstract T Accept<T> (Microsoft.OData.UriParser.IPathSegmentTokenVisitor<T> visitor);
abstract member Accept : Microsoft.OData.UriParser.IPathSegmentTokenVisitor<'T> -> 'T
Public MustOverride Function Accept(Of T) (visitor As IPathSegmentTokenVisitor(Of T)) As T
Type Parameters
- T
Type that the visitor will return after visiting this token.
Parameters
- visitor
- IPathSegmentTokenVisitor<T>
An implementation of the visitor interface.
Returns
An object whose type is determined by the type parameter of the visitor.