Exemple #1
0
        public virtual string CreateEscapedIdentifier(string value)
        {
            ICodeGenerator cg = CreateGenerator();

            if (cg == null)
            {
                throw GetNotImplemented();
            }
            return(cg.CreateEscapedIdentifier(value));
        }
 public void TestCreateEscapedIdentifierNullArg()
 {
     gen.CreateEscapedIdentifier(null);
 }
 public override string CreateEscapedIdentifier(string value)
 {
     return(generator.CreateEscapedIdentifier(value));
 }
Exemple #4
0
            public void ICodeGeneratorCreateEscapedIdentifier_Invoke_ReturnsExpected()
            {
                ICodeGenerator generator = this;

                Assert.Equal("escapedIdentifier", generator.CreateEscapedIdentifier(null));
            }
Exemple #5
0
 public string CreateEscapedIdentifier(string value)
 {
     return(_generator.CreateEscapedIdentifier(value));
 }