Beispiel #1
0
 public bool Equals(FinancialAssetTypeCategoryCode code)
 {
     if ((code == null) || this.InternalObject == null)
     {
         return(false);
     }
     return(this.InternalObject.Equals(code.InternalObject));
 }
Beispiel #2
0
        /// <summary>
        /// Initialisation des constantes dans le dictionnaire
        /// </summary>
        static FinancialAssetTypeCategoryCode()
        {
            FinancialAssetTypeCategoryCodeAdaptee adapteeA = new FinancialAssetTypeCategoryCodeAdaptee("EQUITIES", "A", 0);

            EQUITIES = new FinancialAssetTypeCategoryCode(adapteeA);
            FinancialAssetTypeCategoryCodeAdaptee adapteeO = new FinancialAssetTypeCategoryCodeAdaptee("DEBT INSTRUMENTS", "O", 1);

            DEBT = new FinancialAssetTypeCategoryCode(adapteeO);
            FinancialAssetTypeCategoryCodeAdaptee adapteeE = new FinancialAssetTypeCategoryCodeAdaptee("ENTITLEMENTS", "E", 2);

            ENTITLEMENTS = new FinancialAssetTypeCategoryCode(adapteeE);
            FinancialAssetTypeCategoryCodeAdaptee adapteeD = new FinancialAssetTypeCategoryCodeAdaptee("DERIVATIVES", "D", 3);

            DERIVATIVES = new FinancialAssetTypeCategoryCode(adapteeD);
            FinancialAssetTypeCategoryCodeAdaptee adapteeM = new FinancialAssetTypeCategoryCodeAdaptee("MONEY_MARKET", "M", 4);

            MONEY_MARKET = new FinancialAssetTypeCategoryCode(adapteeM);
            FinancialAssetTypeCategoryCodeAdaptee adapteeZ = new FinancialAssetTypeCategoryCodeAdaptee("OTHERS", "Z", 5);

            OTHERS = new FinancialAssetTypeCategoryCode(adapteeZ);
        }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            FinancialAssetTypeCategoryCode code = obj as FinancialAssetTypeCategoryCode;

            return(this.Equals(code));
        }