Exemple #1
0
 public SecuritiesIdentification(ISINIdentifier IsinId)
 {
     this.DomesticIdentificationSource    = CountryCode.DEFAULT;
     this.SecurityIdentification          = IsinId ?? ISINIdentifier.DEFAULT;
     this.OtherIdentification             = "";
     this.ProprietaryIdentificationSource = "";
     this.Bloomberg    = BloombergIdentifier.DEFAULT;
     this.RIC          = RICIdentifier.DEFAULT;
     this.SEDOL        = SEDOLIdentifier.DEFAULT;
     this.CUSIP        = CUSIPIdentifier.DEFAULT;
     this.TickerSymbol = TickerIdentifier.DEFAULT;
 }
Exemple #2
0
 public override bool Equals(object obj)
 {
     if (this.ISINCode == null)
     {
         return(false);
     }
     if (obj is ISINIdentifier)
     {
         ISINIdentifier id = (ISINIdentifier)obj;
         return(this.ISINCode.TrimEnd().Equals(id.ISINCode, StringComparison.OrdinalIgnoreCase));
     }
     else if (obj is String)
     {
         String id = (String)obj;
         return(this.ISINCode.TrimEnd().Equals(id, StringComparison.OrdinalIgnoreCase));
     }
     return(false);
 }