public void AddDetailsTo(NamedValueSet nvs) { nvs.ConditionalSetValue("KnownSubstLocNameList", !KnownSubstLocNameList.IsNullOrEmpty(), KnownSubstLocNameList); nvs.ConditionalSetValue("KnownProxySubstLocNameList", !KnownProxySubstLocNameList.IsNullOrEmpty(), KnownProxySubstLocNameList); nvs.ConditionalSetValue("SupportsSwapAtSubstLocNameList", !SupportsSwapAtSubstLocNameList.IsNullOrEmpty(), SupportsSwapAtSubstLocNameList); nvs.ConditionalSetValue("SupportsSwapAtAllLocations", SupportsSwapAtAllLocations, SupportsSwapAtAllLocations); }