C# Class Kaffeplaneten.Stubs.LoggingDALStub

Inheritance: Kaffeplaneten.DAL.ALoggingDAL
Afficher le fichier Open project: chrban/Webapplikasjoner

Méthodes publiques

Méthode Description
createLog ( string type ) : bool
findInDatabaseLog ( string criteria ) : Newtonsoft.Json.Linq.JObject
findInInteractionLog ( string criteria ) : Newtonsoft.Json.Linq.JObject
logToDatabase ( Exception ex ) : bool
logToDatabase ( string message ) : bool
logToUser ( string message, CustomerModel model ) : bool
logToUser ( string message, EmployeeModel model ) : bool
parseLogFile ( string log ) : List
parseToArray ( string log ) : Newtonsoft.Json.Linq.JArray

Method Details

createLog() public méthode

public createLog ( string type ) : bool
type string
Résultat bool

findInDatabaseLog() public méthode

public findInDatabaseLog ( string criteria ) : Newtonsoft.Json.Linq.JObject
criteria string
Résultat Newtonsoft.Json.Linq.JObject

findInInteractionLog() public méthode

public findInInteractionLog ( string criteria ) : Newtonsoft.Json.Linq.JObject
criteria string
Résultat Newtonsoft.Json.Linq.JObject

logToDatabase() public méthode

public logToDatabase ( Exception ex ) : bool
ex System.Exception
Résultat bool

logToDatabase() public méthode

public logToDatabase ( string message ) : bool
message string
Résultat bool

logToUser() public méthode

public logToUser ( string message, CustomerModel model ) : bool
message string
model Kaffeplaneten.Models.CustomerModel
Résultat bool

logToUser() public méthode

public logToUser ( string message, EmployeeModel model ) : bool
message string
model Kaffeplaneten.Models.EmployeeModel
Résultat bool

parseLogFile() public méthode

public parseLogFile ( string log ) : List
log string
Résultat List

parseToArray() public méthode

public parseToArray ( string log ) : Newtonsoft.Json.Linq.JArray
log string
Résultat Newtonsoft.Json.Linq.JArray