Пример #1
0
 public IDomainType GetDomainType(Guid typeId)
 {
     return(DomainTypes.SingleOrDefault(type => type.GetTypeId() == typeId));
 }
Пример #2
0
 public IDomainType GetDomainType(Guid typeId)
 {
     return(DomainTypes.SingleOrDefault(type => type.BuildInID == typeId || type.Id == typeId));
 }