AsynqFramework.CodeWriter.CodeWriterBase.WritePrimitive C# (CSharp) Method

WritePrimitive() public method

public WritePrimitive ( string value ) : void
value string
return void
        public virtual void WritePrimitive(string value)
        {
            if (value == null)
            {
                Output("null", TokenType.Keyword);
                return;
            }

            string strRep = String.Concat("\"", escapeCSharp(value), "\"");
            Output(strRep, TokenType.ConstantString, (object)value);
        }

Same methods

CodeWriterBase::WritePrimitive ( byte value ) : void
CodeWriterBase::WritePrimitive ( char value ) : void
CodeWriterBase::WritePrimitive ( decimal value ) : void
CodeWriterBase::WritePrimitive ( double value ) : void
CodeWriterBase::WritePrimitive ( float value ) : void
CodeWriterBase::WritePrimitive ( int value ) : void
CodeWriterBase::WritePrimitive ( long value ) : void
CodeWriterBase::WritePrimitive ( sbyte value ) : void
CodeWriterBase::WritePrimitive ( short value ) : void
CodeWriterBase::WritePrimitive ( uint value ) : void
CodeWriterBase::WritePrimitive ( ulong value ) : void
CodeWriterBase::WritePrimitive ( ushort value ) : void