public VBCodeProvider(IDictionary<string, string> providerOptions) {
            if (providerOptions == null) {
                throw new ArgumentNullException("providerOptions");
            }

            generator = new VBCodeGenerator(providerOptions);
        }
Exemplo n.º 2
0
 public override string CreateEscapedIdentifier(string name)
 {
     if (VBCodeGenerator.IsKeyword(name))
     {
         return("[" + name + "]");
     }
     return(name);
 }
 public VBCodeProvider(IDictionary <string, string> providerOptions)
 {
     if (providerOptions == null)
     {
         throw new ArgumentNullException("providerOptions");
     }
     this.generator = new VBCodeGenerator(providerOptions);
 }
Exemplo n.º 4
0
        public VBCodeProvider(IDictionary <string, string> providerOptions)
        {
            if (providerOptions is null)
            {
                throw new ArgumentNullException(nameof(providerOptions));
            }

            _generator = new VBCodeGenerator(providerOptions);
        }
Exemplo n.º 5
0
 public VBCodeProvider()
 {
     _generator = new VBCodeGenerator();
 }
 public VBCodeProvider() {
     generator = new VBCodeGenerator();
 }