C# Class ShaderTools.VisualStudio.Hlsl.Editing.BraceCompletion.BraceCompletionExtensions

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
GetSessionSpan ( this session ) : SnapshotSpan
GetValueInValidRange ( this value, int smallest, int largest ) : int
PositionInSnapshot ( this position, ITextSnapshot snapshot ) : bool

Method Details

GetSessionSpan() public static méthode

public static GetSessionSpan ( this session ) : SnapshotSpan
session this
Résultat SnapshotSpan

GetValueInValidRange() public static méthode

public static GetValueInValidRange ( this value, int smallest, int largest ) : int
value this
smallest int
largest int
Résultat int

PositionInSnapshot() public static méthode

public static PositionInSnapshot ( this position, ITextSnapshot snapshot ) : bool
position this
snapshot ITextSnapshot
Résultat bool