Esempio n. 1
0
        public bool SetValue(string value, ref TransactionChain chain)
        {
            if (MetadataSet.Value != value)
            {
                MetadataSet.Update(null, value, null, null, null, ref chain);

                OnNotifyPropertyChanged("Value");

                return(true);
            }

            return(false);
        }
Esempio n. 2
0
        public bool SetName(string name, ref TransactionChain chain)
        {
            if (MetadataSet.Name != name)
            {
                MetadataSet.Update(name, null, null, null, null, ref chain);

                OnNotifyPropertyChanged("Name");

                return(true);
            }

            return(false);
        }