public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { FileName = input.ReadString(); break; } case 17: { Duration = input.ReadDouble(); break; } case 25: { Eplipsed = input.ReadDouble(); break; } case 32: { state_ = (global::MediaHelper.Protobuf.generated.State)input.ReadEnum(); break; } } } }
public void MergeFrom(PlayingMediaInfo other) { if (other == null) { return; } if (other.FileName.Length != 0) { FileName = other.FileName; } if (other.Duration != 0D) { Duration = other.Duration; } if (other.Eplipsed != 0D) { Eplipsed = other.Eplipsed; } if (other.State != 0) { State = other.State; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }