Пример #1
0
 public Uri GetNext(Uri Host, string Tags, byte[] Data, IPageGeneratorSettings Settings)
 {
     var settings = (PageEnumeratorSettings)Settings;
     if (!settings.CanContinue)
         return null;
     return new Uri(ApplyMask(Host.AbsoluteUri, Tags, settings.Mask, settings.Current += settings.Increment));
 }
Пример #2
0
 public Uri Init(Uri Host, string Tags, IPageGeneratorSettings Settings)
 {
     var settings = (PageEnumeratorSettings)Settings;
     return new Uri(ApplyMask(Host.AbsoluteUri, Tags, settings.Mask, settings.Current));
 }