Method | Description | |
---|---|---|
Dispatch ( ICommand cmd ) : void | ||
GetLogs ( System.DateTime from = null, System.DateTime to = null ) : IEnumerable |
||
Initialize ( ) : void |
Create the table structure
|
|
SqlLoggedBus ( IBus bus, string connection, string tablename = "commandlogs" ) : System | ||
ToJson ( object cmd ) : string |
Method | Description | |
---|---|---|
Log ( string name, string json, byte data, bool success ) : void | ||
SerializeObject ( ICommand cmd ) : byte[] |
public GetLogs ( System.DateTime from = null, System.DateTime to = null ) : IEnumerable |
||
from | System.DateTime | |
to | System.DateTime | |
return | IEnumerable |
public SqlLoggedBus ( IBus bus, string connection, string tablename = "commandlogs" ) : System | ||
bus | IBus | |
connection | string | |
tablename | string | |
return | System |
public abstract ToJson ( object cmd ) : string | ||
cmd | object | |
return | string |