Ejemplo n.º 1
0
        //
        //
        // Set property
        //
        public void setProperty(PropertyIdentifier pid, Encodable value)
        {
            ObjectProperties.validateValue(Id.ObjectType, pid, value);
            setPropertyImpl(pid, value);

            // If the relinquish default was set, make sure the present value gets updated as necessary.
            if (pid.Equals(PropertyIdentifier.RelinquishDefault))
            {
                setCommandableImpl((PriorityArray)getProperty(PropertyIdentifier.PriorityArray));
            }
        }
 public bool Equals_Returns_Correctly(PropertyIdentifier sot, object other)
 {
     return(sot.Equals(other));
 }