Пример #1
0
            public TimeRegion(CustomTimeRegionProvider provider, string id)
            {
                if (provider == null)
                {
                    throw new ArgumentNullException("provider");
                }
                if (string.IsNullOrEmpty(id))
                {
                    throw new ArgumentNullException("id");
                }

                _provider = provider;
                _id       = id;
            }
Пример #2
0
 public TimeRegion(CustomTimeRegionProvider provider, string id, ITimeRegion systemTimeRegion)
     : this(provider, id)
 {
     _systemTimeRegion = systemTimeRegion;
 }