コード例 #1
0
 public void Dispose()
 {
     if (dispose)
     {
         URD.AddChange(this);
         dispose = false;
     }
 }
コード例 #2
0
        public void Dispose()
        {
            if (dispose && ((System.Collections.IList)Object).Contains(AddedElements[0]) && ((System.Collections.IList)Object).Contains(AddedElements[AddedElements.Count - 1]))
            {
                URD.AddChange(this);
            }

            dispose = false;
        }
コード例 #3
0
 public void Dispose()
 {
     if (dispose)
     {
         if (((System.Collections.IList)Object).Contains(RemovedElement) == false)
         {
             URD.AddChange(this);
         }
         dispose = false;
     }
 }
コード例 #4
0
        public void Dispose()
        {
            if (dispose)
            {
                object value = Object.GetType().GetProperty(PropertyName).GetValue(Object, null);
                NewValue = _IsValueType ? value : _IsString?string.Copy(value as string) : SerializationTools.GetCopyOfAObject(value);

                URD.AddChange(this);
                dispose = false;
            }
        }
コード例 #5
0
        public void Dispose()
        {
            if (dispose)
            {
                if (((System.Collections.IList)Object).Contains(AddedElement))
                {
                    Index = ((System.Collections.IList)Object).IndexOf(AddedElement);
                    URD.AddChange(this);
                }

                dispose = false;
            }
        }
コード例 #6
0
        public void Dispose()
        {
            if (_dispose)
            {
                URD.ChangeResevered -= URD_ChangeResevered;
                URD.CollectChanges   = AlreadyChangeCollecting;
                URD.AddChange(new ChangeCollection {
                    Description = _Description, Changes = _Changes
                });

                _dispose = false;
            }
        }