|
Joutsen Logging v0.5.0+26-g72240ac
|
A scope implementation that represents an assembly. More...
Public Member Functions | |
| AssemblyScope (Assembly assembly) | |
| Creates a new instance for an assembly. | |
| AssemblyScope (Type containedType) | |
| Creates a new instance using a types assembly. | |
| string | ToString (string format, IFormatProvider formatProvider) |
| Formats the scope into a string. | |
| override string | ToString () |
| Map< string, string > | ToNamedStrings (string format, IFormatProvider formatProvider) |
| Creates a map of key value pairs which can be used to write the scope in a structured way. | |
Properties | |
| Assembly | Assembly [get] |
| The assembly this scope represents. | |
A scope implementation that represents an assembly.
| Joutsen.Logging.AssemblyScope.AssemblyScope | ( | Assembly | assembly | ) |
Creates a new instance for an assembly.
| Joutsen.Logging.AssemblyScope.AssemblyScope | ( | Type | containedType | ) |
Creates a new instance using a types assembly.
| Map< string, string > Joutsen.Logging.AssemblyScope.ToNamedStrings | ( | string | format, |
| IFormatProvider | formatProvider | ||
| ) |
Creates a map of key value pairs which can be used to write the scope in a structured way.
| format | the string that defines the output format for the scope |
| formatProvider | provides localization information to format the scopes information |
Implements Joutsen.Logging.Scope.
| override string Joutsen.Logging.AssemblyScope.ToString | ( | ) |
| string Joutsen.Logging.AssemblyScope.ToString | ( | string | format, |
| IFormatProvider | formatProvider | ||
| ) |
Formats the scope into a string.
| format | the format to use to represent the scope |
| formatProvider | a format provider used for lacation specific representation |
|
get |
The assembly this scope represents.