示例#1
0
 public BicepCompletionContext(
     BicepCompletionContextKind kind,
     Range replacementRange,
     SyntaxBase?enclosingDeclaration,
     ObjectSyntax? @object,
     ObjectPropertySyntax?property,
     ArraySyntax?array,
     PropertyAccessSyntax?propertyAccess,
     ResourceAccessSyntax?resourceAccess,
     ArrayAccessSyntax?arrayAccess,
     TargetScopeSyntax?targetScope,
     ImmutableArray <ILanguageScope> activeScopes)
 {
     this.Kind                 = kind;
     this.ReplacementRange     = replacementRange;
     this.EnclosingDeclaration = enclosingDeclaration;
     this.Object               = @object;
     this.Property             = property;
     this.Array                = array;
     this.PropertyAccess       = propertyAccess;
     this.ResourceAccess       = resourceAccess;
     this.ArrayAccess          = arrayAccess;
     this.TargetScope          = targetScope;
     this.ActiveScopes         = activeScopes;
 }
示例#2
0
 public BicepCompletionContext(
     BicepCompletionContextKind kind,
     Range replacementRange,
     SyntaxBase?enclosingDeclaration,
     ObjectSyntax? @object,
     ObjectPropertySyntax?property,
     ArraySyntax?array,
     PropertyAccessSyntax?propertyAccess,
     TargetScopeSyntax?targetScope)
 {
     this.Kind                 = kind;
     this.ReplacementRange     = replacementRange;
     this.EnclosingDeclaration = enclosingDeclaration;
     this.Object               = @object;
     this.Property             = property;
     this.Array                = array;
     this.PropertyAccess       = propertyAccess;
     this.TargetScope          = targetScope;
 }