C# Class Universe.Services.DataService.LocalAbuseReportsConnector

Inheritance: IAbuseReportsConnector
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
AbuseReportCount ( ) : int

Gets the number of Abuse reports.

AddAbuseReport ( AbuseReport report ) : void

Adds a new abuse report to the database

Dispose ( ) : void
Enabled ( ) : bool
GetAbuseReport ( int Number ) : AbuseReport

Gets the abuse report associated with the number without authentication

GetAbuseReport ( int Number, string Password ) : AbuseReport

Gets the abuse report associated with the number and uses the pass to authenticate.

GetAbuseReports ( int start, int count, bool active ) : List
Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
UpdateAbuseReport ( AbuseReport report ) : void

Updates an abuse report without authentication

UpdateAbuseReport ( AbuseReport report, string Password ) : void

Updates an abuse report and authenticates with the password.

Method Details

AbuseReportCount() public méthode

Gets the number of Abuse reports.
public AbuseReportCount ( ) : int
Résultat int

AddAbuseReport() public méthode

Adds a new abuse report to the database
public AddAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Enabled() public méthode

public Enabled ( ) : bool
Résultat bool

GetAbuseReport() public méthode

Gets the abuse report associated with the number without authentication
public GetAbuseReport ( int Number ) : AbuseReport
Number int
Résultat Universe.Framework.Services.AbuseReport

GetAbuseReport() public méthode

Gets the abuse report associated with the number and uses the pass to authenticate.
public GetAbuseReport ( int Number, string Password ) : AbuseReport
Number int
Password string
Résultat Universe.Framework.Services.AbuseReport

GetAbuseReports() public méthode

public GetAbuseReports ( int start, int count, bool active ) : List
start int
count int
active bool
Résultat List

Initialize() public méthode

public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
GenericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
Résultat void

UpdateAbuseReport() public méthode

Updates an abuse report without authentication
public UpdateAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
Résultat void

UpdateAbuseReport() public méthode

Updates an abuse report and authenticates with the password.
public UpdateAbuseReport ( AbuseReport report, string Password ) : void
report Universe.Framework.Services.AbuseReport
Password string
Résultat void