コード例 #1
0
        public object Execute()
        {
            originalValue = (CredentialGroup)ToBeUpdated.Clone();

            ToBeUpdated.Name = UpdatedCredential.Name;

            return(ToBeUpdated);
        }
コード例 #2
0
        public object Execute()
        {
            originalValue = (Credential)ToBeUpdated.Clone();

            ToBeUpdated.Group    = UpdatedCredential.Group;
            ToBeUpdated.Name     = UpdatedCredential.Name;
            ToBeUpdated.Username = UpdatedCredential.Username;
            ToBeUpdated.Password = UpdatedCredential.Password;
            ToBeUpdated.URL      = UpdatedCredential.URL;
            ToBeUpdated.Notes    = UpdatedCredential.Notes;

            return(ToBeUpdated);
        }