Пример #1
0
 internal IntegrationSettings this[IntegrationInfo integration]
 {
     get
     {
         return(integration.Name == null ? _settingsById[integration.Id] : _settingsByName.GetOrAdd(integration.Name, _valueFactory));
     }
 }
        internal static string GetName(IntegrationInfo integration)
        {
            if (integration.Name == null)
            {
                return(Names[integration.Id]);
            }

            return(integration.Name);
        }