Table of Contents

Class CompletionAttribute

Namespace
Loehnert.Lisrt.Contracts
Assembly
Loehnert.Lisrt.dll

Represents an attribute that can be applied to method parameters to specify a custom completion provider.

[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = true)]
public class CompletionAttribute : Attribute, _Attribute
Inheritance
CompletionAttribute
Implements
Inherited Members

Constructors

CompletionAttribute(Type)

Initializes a new instance of the CompletionAttribute class.

public CompletionAttribute(Type completionProvider)

Parameters

completionProvider Type

The type of the completion provider.

Exceptions

ArgumentException

Thrown when completionProvider is not assignable to ICompletionSource
-or- does not have a parameterless constructor.

Properties

CompletionProvider

Gets the type of the completion provider.

public Type CompletionProvider { get; }

Property Value

Type