Example #1
0
 public bool Equals(DataSource dataSource)
 {
     if (string.IsNullOrEmpty(this.ID))
         return false;
     return this.ID.Equals(dataSource.ID);
 }
Example #2
0
 public Storage AddDataSource(DataSource dataSource)
 {
     if (dataSource != null)
         DataSources.Add(dataSource);
     return this;
 }