Apache.Hadoop.Thriftfs.Api.Pathname.Write C# (CSharp) Метод

Write() публичный Метод

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
Результат void
        public void Write(TProtocol oprot)
        {
            TStruct struc = new TStruct("Pathname");
            oprot.WriteStructBegin(struc);
            TField field = new TField();
            if (pathname != null && __isset.pathname)
            {
                field.Name = "Pathname";
                field.Type = TType.String;
                field.ID = -1;
                oprot.WriteFieldBegin(field);
                oprot.WriteString(pathname);
                oprot.WriteFieldEnd();
            }
            oprot.WriteFieldStop();
            oprot.WriteStructEnd();
        }