CalDavSynchronizer.Implementation.TimeZones.GlobalTimeZoneCache.GetTzOrNull C# (CSharp) Метод

GetTzOrNull() приватный Метод

private GetTzOrNull ( string tzId, bool includeHistoricalData ) : ITimeZone
tzId string
includeHistoricalData bool
Результат ITimeZone
        private ITimeZone GetTzOrNull(string tzId, bool includeHistoricalData)
        {
            if (includeHistoricalData)
            {
                return _tzHistoricalMap.ContainsKey(tzId) ? _tzHistoricalMap[tzId] : null;
            }
            else
            {
                return _tzOutlookMap.ContainsKey(tzId) ? _tzOutlookMap[tzId] : null;
            }
        }