Пример #1
0
 public HostingUnit(Host host, string hostingUnitName, Enums.HostingUnitType hostingUnitType)
 {
     this.HostingUnitKey  = 1;
     this.host            = host;
     this.hostingUnitName = hostingUnitName;
     this.hostingUnitType = hostingUnitType;
 }
Пример #2
0
        private bool IsRelevant(Enums.HostingUnitType desired, Enums.HostingUnitType type)
        {
            if (type == Enums.HostingUnitType.All)
            {
                return(true);
            }

            return(desired == type);
        }