Class TrackerFactory
Inheritance
System.Object
TrackerFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MonoTorrent.Client.Tracker
Assembly: MonoTorrent.dll
Syntax
public static class TrackerFactory
Methods
Create(Uri)
Declaration
public static ITracker Create(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | uri |
Returns
| Type | Description |
|---|---|
| ITracker |
Register(String, Func<Uri, ITracker>)
Declaration
public static void Register(string protocol, Func<Uri, ITracker> creator)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | protocol | |
| System.Func<System.Uri, ITracker> | creator |
Register(String, Type)
Declaration
public static void Register(string protocol, Type trackerType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | protocol | |
| System.Type | trackerType |