Exemplo n.º 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));
 }
Exemplo n.º 4
0
            public void ICodeGeneratorCreateEscapedIdentifier_Invoke_ReturnsExpected()
            {
                ICodeGenerator generator = this;

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