public HostingUnit(Host host, string hostingUnitName, Enums.HostingUnitType hostingUnitType) { this.HostingUnitKey = 1; this.host = host; this.hostingUnitName = hostingUnitName; this.hostingUnitType = hostingUnitType; }
private bool IsRelevant(Enums.HostingUnitType desired, Enums.HostingUnitType type) { if (type == Enums.HostingUnitType.All) { return(true); } return(desired == type); }