Share via


PathSegmentTranslator<T>.Translate Method

Definition

Overloads

Translate(SingletonSegment)

Translate an SingletonSegment

Translate(ReferenceSegment)

Translate a ReferenceSegment

Translate(PropertySegment)

Translate a PropertySegment

Translate(PathTemplateSegment)

Translate a PathTemplateSegment

Translate(OperationSegment)

Translate an OperationSegment

Translate(OperationImportSegment)

Translate an OperationImportSegment

Translate(NavigationPropertySegment)

Translate a NavigationPropertySegment

Translate(NavigationPropertyLinkSegment)

Visit a NavigationPropertyLinkSegment

Translate(TypeSegment)

Translate a TypeSegment

Translate(MetadataSegment)

Translate a MetadataSegment

Translate(FilterSegment)

Translate a FilterSegment

Translate(EntitySetSegment)

Translate an EntitySetSegment

Translate(EachSegment)

Translate an EachSegment

Translate(DynamicPathSegment)

Translate an OpenPropertySegment

Translate(CountSegment)

Translate a CountSegment

Translate(BatchSegment)

Translate a BatchSegment

Translate(BatchReferenceSegment)

Translate a BatchReferenceSegment

Translate(AnnotationSegment)

Translate an AnnotationSegment

Translate(KeySegment)

Translate a KeySegment

Translate(ValueSegment)

Translate a ValueSegment

Translate(SingletonSegment)

Translate an SingletonSegment

public virtual T Translate (Microsoft.OData.UriParser.SingletonSegment segment);
abstract member Translate : Microsoft.OData.UriParser.SingletonSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.SingletonSegment -> 'T
Public Overridable Function Translate (segment As SingletonSegment) As T

Parameters

segment
SingletonSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(ReferenceSegment)

Translate a ReferenceSegment

public virtual T Translate (Microsoft.OData.UriParser.ReferenceSegment segment);
abstract member Translate : Microsoft.OData.UriParser.ReferenceSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.ReferenceSegment -> 'T
Public Overridable Function Translate (segment As ReferenceSegment) As T

Parameters

segment
ReferenceSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(PropertySegment)

Translate a PropertySegment

public virtual T Translate (Microsoft.OData.UriParser.PropertySegment segment);
abstract member Translate : Microsoft.OData.UriParser.PropertySegment -> 'T
override this.Translate : Microsoft.OData.UriParser.PropertySegment -> 'T
Public Overridable Function Translate (segment As PropertySegment) As T

Parameters

segment
PropertySegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(PathTemplateSegment)

Translate a PathTemplateSegment

public virtual T Translate (Microsoft.OData.UriParser.PathTemplateSegment segment);
abstract member Translate : Microsoft.OData.UriParser.PathTemplateSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.PathTemplateSegment -> 'T
Public Overridable Function Translate (segment As PathTemplateSegment) As T

Parameters

segment
PathTemplateSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(OperationSegment)

Translate an OperationSegment

public virtual T Translate (Microsoft.OData.UriParser.OperationSegment segment);
abstract member Translate : Microsoft.OData.UriParser.OperationSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.OperationSegment -> 'T
Public Overridable Function Translate (segment As OperationSegment) As T

Parameters

segment
OperationSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(OperationImportSegment)

Translate an OperationImportSegment

public virtual T Translate (Microsoft.OData.UriParser.OperationImportSegment segment);
abstract member Translate : Microsoft.OData.UriParser.OperationImportSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.OperationImportSegment -> 'T
Public Overridable Function Translate (segment As OperationImportSegment) As T

Parameters

segment
OperationImportSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(NavigationPropertySegment)

Translate a NavigationPropertySegment

public virtual T Translate (Microsoft.OData.UriParser.NavigationPropertySegment segment);
abstract member Translate : Microsoft.OData.UriParser.NavigationPropertySegment -> 'T
override this.Translate : Microsoft.OData.UriParser.NavigationPropertySegment -> 'T
Public Overridable Function Translate (segment As NavigationPropertySegment) As T

Parameters

segment
NavigationPropertySegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(NavigationPropertyLinkSegment)

Visit a NavigationPropertyLinkSegment

public virtual T Translate (Microsoft.OData.UriParser.NavigationPropertyLinkSegment segment);
abstract member Translate : Microsoft.OData.UriParser.NavigationPropertyLinkSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.NavigationPropertyLinkSegment -> 'T
Public Overridable Function Translate (segment As NavigationPropertyLinkSegment) As T

Parameters

segment
NavigationPropertyLinkSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(TypeSegment)

Translate a TypeSegment

public virtual T Translate (Microsoft.OData.UriParser.TypeSegment segment);
abstract member Translate : Microsoft.OData.UriParser.TypeSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.TypeSegment -> 'T
Public Overridable Function Translate (segment As TypeSegment) As T

Parameters

segment
TypeSegment

the segment to Translate

Returns

T

Defined by the implementer

Applies to

Translate(MetadataSegment)

Translate a MetadataSegment

public virtual T Translate (Microsoft.OData.UriParser.MetadataSegment segment);
abstract member Translate : Microsoft.OData.UriParser.MetadataSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.MetadataSegment -> 'T
Public Overridable Function Translate (segment As MetadataSegment) As T

Parameters

segment
MetadataSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(FilterSegment)

Translate a FilterSegment

public virtual T Translate (Microsoft.OData.UriParser.FilterSegment segment);
abstract member Translate : Microsoft.OData.UriParser.FilterSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.FilterSegment -> 'T
Public Overridable Function Translate (segment As FilterSegment) As T

Parameters

segment
FilterSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(EntitySetSegment)

Translate an EntitySetSegment

public virtual T Translate (Microsoft.OData.UriParser.EntitySetSegment segment);
abstract member Translate : Microsoft.OData.UriParser.EntitySetSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.EntitySetSegment -> 'T
Public Overridable Function Translate (segment As EntitySetSegment) As T

Parameters

segment
EntitySetSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(EachSegment)

Translate an EachSegment

public virtual T Translate (Microsoft.OData.UriParser.EachSegment segment);
abstract member Translate : Microsoft.OData.UriParser.EachSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.EachSegment -> 'T
Public Overridable Function Translate (segment As EachSegment) As T

Parameters

segment
EachSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(DynamicPathSegment)

Translate an OpenPropertySegment

public virtual T Translate (Microsoft.OData.UriParser.DynamicPathSegment segment);
abstract member Translate : Microsoft.OData.UriParser.DynamicPathSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.DynamicPathSegment -> 'T
Public Overridable Function Translate (segment As DynamicPathSegment) As T

Parameters

segment
DynamicPathSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(CountSegment)

Translate a CountSegment

public virtual T Translate (Microsoft.OData.UriParser.CountSegment segment);
abstract member Translate : Microsoft.OData.UriParser.CountSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.CountSegment -> 'T
Public Overridable Function Translate (segment As CountSegment) As T

Parameters

segment
CountSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(BatchSegment)

Translate a BatchSegment

public virtual T Translate (Microsoft.OData.UriParser.BatchSegment segment);
abstract member Translate : Microsoft.OData.UriParser.BatchSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.BatchSegment -> 'T
Public Overridable Function Translate (segment As BatchSegment) As T

Parameters

segment
BatchSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(BatchReferenceSegment)

Translate a BatchReferenceSegment

public virtual T Translate (Microsoft.OData.UriParser.BatchReferenceSegment segment);
abstract member Translate : Microsoft.OData.UriParser.BatchReferenceSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.BatchReferenceSegment -> 'T
Public Overridable Function Translate (segment As BatchReferenceSegment) As T

Parameters

segment
BatchReferenceSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(AnnotationSegment)

Translate an AnnotationSegment

public virtual T Translate (Microsoft.OData.UriParser.AnnotationSegment segment);
abstract member Translate : Microsoft.OData.UriParser.AnnotationSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.AnnotationSegment -> 'T
Public Overridable Function Translate (segment As AnnotationSegment) As T

Parameters

segment
AnnotationSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(KeySegment)

Translate a KeySegment

public virtual T Translate (Microsoft.OData.UriParser.KeySegment segment);
abstract member Translate : Microsoft.OData.UriParser.KeySegment -> 'T
override this.Translate : Microsoft.OData.UriParser.KeySegment -> 'T
Public Overridable Function Translate (segment As KeySegment) As T

Parameters

segment
KeySegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to

Translate(ValueSegment)

Translate a ValueSegment

public virtual T Translate (Microsoft.OData.UriParser.ValueSegment segment);
abstract member Translate : Microsoft.OData.UriParser.ValueSegment -> 'T
override this.Translate : Microsoft.OData.UriParser.ValueSegment -> 'T
Public Overridable Function Translate (segment As ValueSegment) As T

Parameters

segment
ValueSegment

the segment to Translate

Returns

T

Defined by the implementer.

Applies to