Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void startOperation(String from, System.Nullable<int> id) throws java.io.IOException
        public virtual void StartOperation(string from, int?id)
        {
            _bytesWritten = 0;
            _g.writeStartObject();
            if (id != null)
            {
                _g.writeNumberField("id", id);
            }
            _g.writeStringField("from", from);
            _g.writeRaw(",\"body\":");
            _g.flush();
        }