public void DeepCopyFrom(MsgTextDisplayMediaType src) { this.identifier = src.identifier; this.typeCode = src.typeCode; this.typeName = src.typeName; this.letterCountLimit = src.letterCountLimit; }
/// <summary> /// [문안 표출 유형] /// </summary> /// <param name="identifier"></param> /// <returns></returns> public static MsgTextDisplayMediaType FindMediaTypeInfoByID(int identifier) { foreach (MsgTextDisplayMediaType media in msgTextDisplayMediaType) { if (media.ID == identifier) { MsgTextDisplayMediaType copy = new MsgTextDisplayMediaType(); copy.DeepCopyFrom(media); return(copy); } } return(null); }