Class ClientRepository
Inheritance
System.Object
ClientRepository
Implements
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: AltV.Net.EntitySync
Assembly: AltV.Net.EntitySync.dll
Syntax
public class ClientRepository : IClientRepository
Constructors
| Improve this Doc View SourceClientRepository(ClientThreadRepository[])
Declaration
public ClientRepository(ClientThreadRepository[] clientThreadRepositories)
Parameters
Type | Name | Description |
---|---|---|
ClientThreadRepository[] | clientThreadRepositories |
Methods
| Improve this Doc View SourceAdd(IClient)
Declaration
public void Add(IClient client)
Parameters
Type | Name | Description |
---|---|---|
IClient | client |
Remove(IClient)
Declaration
public IClient Remove(IClient client)
Parameters
Type | Name | Description |
---|---|---|
IClient | client |
Returns
Type | Description |
---|---|
IClient |
Remove(String)
Declaration
public IClient Remove(string token)
Parameters
Type | Name | Description |
---|---|---|
System.String | token |
Returns
Type | Description |
---|---|
IClient |
Replace(IClient)
Declaration
public void Replace(IClient client)
Parameters
Type | Name | Description |
---|---|---|
IClient | client |
TryGet(String, out IClient)
Declaration
public bool TryGet(string token, out IClient client)
Parameters
Type | Name | Description |
---|---|---|
System.String | token | |
IClient | client |
Returns
Type | Description |
---|---|
System.Boolean |