internal ApiSetEntry(ApiSetFlags flags, string name, string hash_name, List <ApiSetHost> hosts) { Flags = flags; Name = name; HashName = hash_name; HostModule = hosts.FirstOrDefault(h => h.DefaultHost)?.HostModule ?? string.Empty; Hosts = hosts.AsReadOnly(); }
internal ApiSetNamespace(ApiSetFlags flags, List <ApiSetEntry> entries) { Flags = flags; Entries = entries.AsReadOnly(); }