예제 #1
0
        public override bool Equals(System.Object obj)
        {
            // If parameter is null return false.
            if (obj == null)
            {
                return(false);
            }

            // If parameter cannot be cast to InterestComputationMethodCodeAdaptee return false.
            TypeOfPriceCodeAdaptee p = obj as TypeOfPriceCodeAdaptee;

            if ((System.Object)p == null)
            {
                return(false);
            }

            // Return true if the fields match:
            return((Value == p.Value) && (Label == p.Label));
        }
예제 #2
0
 private TypeOfPriceCode(TypeOfPriceCodeAdaptee Instance)
 {
     this.InternalObject = Instance;
 }