Skip to content

SourcePosition<TSelf>.Combine Method ​

Overloads ​

NameDescription
Combine(SourcePosition)
Combine(TSelf)Combines two SourcePosition<TSelf>s to give a new SourcePosition that includes both this position and the other along any source in-between the two.

Combine(SourcePosition) ​

c#
public new TSelf Combine(SourcePosition other);

View source

Parameters ​

NameTypeDescription
otherSourcePosition

Returns ​

TSelf

Combine(TSelf) ​

Combines two SourcePosition<TSelf>s to give a new SourcePosition that includes both this position and the other along any source in-between the two.

c#
protected new abstract TSelf Combine(TSelf other);

Parameters ​

NameTypeDescription
otherTSelf

Returns ​

TSelf

The combined position.