コード例 #1
0
        public override RequestEntity Clone()
        {
            RequestEntity result = new RequestEntity();

            result.CloneKey         = CloneKey.Clone();
            result.Id               = Id;
            result.ReqDateTime      = ReqDateTime;
            result.CreateDateTime   = CreateDateTime;
            result.Subject          = Subject;
            result.Comments         = Comments;
            result.Contact          = Contact;
            result.Application      = Application.Clone();
            result.TagsString       = TagsString;
            result.Tags             = Tags.Clone();
            result.Attaches         = Attaches.Clone();
            result.Organization     = Organization.Clone();
            result.ResponseUser     = ResponseUser.Clone();
            result.InfoSourceType   = InfoSourceType;
            result.State            = State;
            result.BugNumber        = BugNumber;
            result.CMVersion        = CMVersion;
            result.ComponentVersion = ComponentVersion;
            result.CreatorUser      = CreatorUser;
            result.IsImportant      = IsImportant;
            return(result);
        }
コード例 #2
0
        public override RequestListFilterEntity Clone()
        {
            RequestListFilterEntity result = new RequestListFilterEntity();

            result.Id            = Id;
            result.CloneKey      = CloneKey.Clone();
            result.FilterName    = FilterName;
            result.StartDateTime = StartDateTime;
            result.StopDateTime  = StopDateTime;
            result.Organization  = Organization.Clone();
            result.ResponseUser  = ResponseUser.Clone();
            result.CreatorUser   = CreatorUser.Clone();
            result.Application   = Application.Clone();
            result.StatusIdList  = StatusIdList;
            result.TagIdList     = TagIdList;
            result.Subject       = Subject;
            result.Contact       = Contact;
            result.Comments      = Comments;
            result.RequestId     = RequestId;
            return(result);
        }