Class BaseContext
BaseContext.
Inherited Members
Namespace: VisioForge.Core
Assembly: VisioForge.Core.dll
Syntax
public class BaseContext
Properties
Rnd
Gets the random.
Declaration
public Random Rnd { get; }
Property Value
| Type | Description |
|---|---|
| Random | The random. |
Methods
Debug(string, string, Exception)
Log debug.
Declaration
public void Debug(string class_, string method, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| Exception | ex | The exception. |
Debug(string, string, string)
Log debug.
Declaration
public void Debug(string class_, string method, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
Debug(string, string, string, Exception)
Log debug.
Declaration
public void Debug(string class_, string method, string message, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
| Exception | ex | The exception. |
Error(string, string, Exception)
Log error.
Declaration
public void Error(string class_, string method, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| Exception | ex | The exception. |
Error(string, string, string)
Log error.
Declaration
public void Error(string class_, string method, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
Error(string, string, string, Exception)
Log error.
Declaration
public void Error(string class_, string method, string message, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
| Exception | ex | The exception. |
GetLogger()
Gets the logger.
Declaration
public ILogger GetLogger()
Returns
| Type | Description |
|---|---|
| ILogger | ILogger. |
Info(string, string, Exception)
Log info.
Declaration
public void Info(string class_, string method, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| Exception | ex | The exception. |
Info(string, string, string)
Log info.
Declaration
public void Info(string class_, string method, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
Info(string, string, string, Exception)
Log info.
Declaration
public void Info(string class_, string method, string message, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
| Exception | ex | The exception. |
SetLogger(ILogger)
Sets the logger.
Declaration
public void SetLogger(ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | The logger. |
Warning(string, string, Exception)
Log warning.
Declaration
public void Warning(string class_, string method, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| Exception | ex | The exception. |
Warning(string, string, string)
Log warning.
Declaration
public void Warning(string class_, string method, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
Warning(string, string, string, Exception)
Log warning.
Declaration
public void Warning(string class_, string method, string message, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | class_ | The class. |
| string | method | The method. |
| string | message | The message. |
| Exception | ex | The exception. |