TokenOutliner<TOutliningSource> Class
Provides an IOutliner capable of creating TokenOutliningSourceBase objects which have a constructor that accepts a single ITextSnapshot instance parameter.
public class TokenOutliner<TOutliningSource> : IOutliner where TOutliningSource : TokenOutliningSourceBase
- Type Parameters:
-
TOutliningSource-The Type of TokenOutliningSourceBase that this provider creates. The outlining source type must have a constructor that accepts a single ITextSnapshot instance parameter.
- Inheritance:
- object object
- Implements:
- IOutliner
Constructors
TokenOutliner()
Initializes an instance of the class.
public TokenOutliner()
Properties
UpdateTrigger
An AutomaticOutliningUpdateTrigger indicating the trigger by which automatic outlining should update.
public AutomaticOutliningUpdateTrigger UpdateTrigger { get; }
Property Value
Methods
GetOutliningSource(ITextSnapshot)
Returns an IOutliningSource for the specified ITextSnapshot.
public IOutliningSource? GetOutliningSource(ITextSnapshot snapshot)
| Parameter | Type | Description |
|---|---|---|
| snapshot | ITextSnapshot | The ITextSnapshot for which to return an outlining source. |
Returns
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()