コード例 #1
0
ファイル: Item.cs プロジェクト: northspb/p2pproxy
 public Item(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url)
 {
     _id = id;
     if (!string.IsNullOrEmpty(parent.Id))
         _id = parent.Id + "_" + id;
     _title = title;
     _type = type;
     _parent = parent;
     _url = url;
     Translation = translation;
 }
コード例 #2
0
ファイル: Item.cs プロジェクト: snakems/p2pproxy
 public Item(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url)
 {
     _id = id;
     if (!string.IsNullOrEmpty(parent.Id))
     {
         _id = parent.Id + "_" + id;
     }
     _title      = title;
     _type       = type;
     _parent     = parent;
     _url        = url;
     Translation = translation;
 }
コード例 #3
0
 public YoutubeItem(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url) : base(id, title, type, parent, translation, "")
 {
     ItemUrl = url;
 }
コード例 #4
0
 public TorrentItem(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url) : base(id, title, type, parent, translation, "")
 {
     _itemurl = url;
     Translation = TranslationType.VoD;
 }
コード例 #5
0
 public YoutubeItem(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url) : base(id, title, type, parent, translation, "")
 {
     ItemUrl = url;
 }
コード例 #6
0
 public TorrentItem(string id, string title, PluginMediaType type, IPluginContainer parent, TranslationType translation, string url) : base(id, title, type, parent, translation, "")
 {
     _itemurl    = url;
     Translation = TranslationType.VoD;
 }