/// <summary> /// /// </summary> /// <param name="type"></param> public FTPMessageData(FTPMessageType type) { Header = MessageHeader.Clone() as char[]; Type = type; Message = string.Empty; Data = null; }
public object Clone() { var ret = new AudioMessage { MessageHeader = (MessageHeader)MessageHeader.Clone() }; ret.MessageHeader.MessageStreamId = null; ret.Data = Data; return(ret); }