Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            RmAttributeName other = obj as RmAttributeName;

            if (other as Object == null)
            {
                return(false);
            }
            else
            {
                return(this.key.Equals(other.key));
            }
        }
Exemplo n.º 2
0
 protected void EnsureAttributeExists(RmAttributeName attributeName)
 {
     EnsureNotDisposed();
     lock (this.attributes)
     {
         if (attributeName == null)
         {
             throw new ArgumentNullException("attributeName");
         }
         if (this.attributes.ContainsKey(attributeName))
         {
             return;
         }
         else
         {
             this.attributes.Add(attributeName, new RmAttributeValue());
         }
     }
 }
Exemplo n.º 3
0
        public object Clone()
        {
            RmAttributeName newObject = new RmAttributeName(this.Name, this.Culture);

            return(newObject);
        }
Exemplo n.º 4
0
 internal RmAttributeChange(RmAttributeName name, IComparable atomicValue, RmAttributeChangeOperation operation)
 {
     this.name           = name;
     this.attributeValue = atomicValue;
     this.operation      = operation;
 }