C# Класс Universe.Services.DataService.LocalAbuseReportsConnector

Наследование: IAbuseReportsConnector
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AbuseReportCount() публичный Метод

Gets the number of Abuse reports.
public AbuseReportCount ( ) : int
Результат int

AddAbuseReport() публичный Метод

Adds a new abuse report to the database
public AddAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Enabled() публичный Метод

public Enabled ( ) : bool
Результат bool

GetAbuseReport() публичный Метод

Gets the abuse report associated with the number without authentication
public GetAbuseReport ( int Number ) : AbuseReport
Number int
Результат Universe.Framework.Services.AbuseReport

GetAbuseReport() публичный Метод

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
Результат Universe.Framework.Services.AbuseReport

GetAbuseReports() публичный Метод

public GetAbuseReports ( int start, int count, bool active ) : List
start int
count int
active bool
Результат List

Initialize() публичный Метод

public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
GenericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
Результат void

UpdateAbuseReport() публичный Метод

Updates an abuse report without authentication
public UpdateAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
Результат void

UpdateAbuseReport() публичный Метод

Updates an abuse report and authenticates with the password.
public UpdateAbuseReport ( AbuseReport report, string Password ) : void
report Universe.Framework.Services.AbuseReport
Password string
Результат void