Evernote.EDAM.UserStore.UserStore.refreshAuthentication_result.Write C# (CSharp) Méthode

Write() public méthode

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
Résultat void
      public void Write(TProtocol oprot) {
        TStruct struc = new TStruct("refreshAuthentication_result");
        oprot.WriteStructBegin(struc);
        TField field = new TField();

        if (this.__isset.success) {
          if (Success != null) {
            field.Name = "Success";
            field.Type = TType.Struct;
            field.ID = 0;
            oprot.WriteFieldBegin(field);
            Success.Write(oprot);
            oprot.WriteFieldEnd();
          }
        } else if (this.__isset.userException) {
          if (UserException != null) {
            field.Name = "UserException";
            field.Type = TType.Struct;
            field.ID = 1;
            oprot.WriteFieldBegin(field);
            UserException.Write(oprot);
            oprot.WriteFieldEnd();
          }
        } else if (this.__isset.systemException) {
          if (SystemException != null) {
            field.Name = "SystemException";
            field.Type = TType.Struct;
            field.ID = 2;
            oprot.WriteFieldBegin(field);
            SystemException.Write(oprot);
            oprot.WriteFieldEnd();
          }
        }
        oprot.WriteFieldStop();
        oprot.WriteStructEnd();
      }
UserStore.refreshAuthentication_result