internal static Publisher CreatePublisher(NameValueCollection parameters,
                                           BitTorrentController parent)
 {
     if ("update".Equals(parameters["action"], StringComparison.OrdinalIgnoreCase))
     {
         return(new Updater(parent));
     }
     else
     {
         return(new Publisher(parent));
     }
 }
Exemplo n.º 2
0
 protected internal Updater(BitTorrentController parent)
     : base(parent)
 {
 }
Exemplo n.º 3
0
 internal static Publisher CreatePublisher(NameValueCollection parameters,
     BitTorrentController parent)
 {
     if ("update".Equals(parameters["action"], StringComparison.OrdinalIgnoreCase)) {
       return new Updater(parent);
     } else {
       return new Publisher(parent);
     }
 }
Exemplo n.º 4
0
 protected internal Publisher(BitTorrentController parent)
 {
     _parent = parent;
 }
 protected internal Updater(BitTorrentController parent) : base(parent)
 {
 }
 protected internal Publisher(BitTorrentController parent)
 {
     _parent = parent;
 }