AvalonStudio.TextEditor.Document.TextSourceVersionProvider.Version.BelongsToSameDocumentAs C# (CSharp) Method

BelongsToSameDocumentAs() public method

public BelongsToSameDocumentAs ( ITextSourceVersion other ) : bool
other ITextSourceVersion
return bool
			public bool BelongsToSameDocumentAs(ITextSourceVersion other)
			{
				var o = other as Version;
				return o != null && provider == o.provider;
			}