|
Joutsen Logging v0.5.0+26-g72240ac
|
Cretes a scope that consists of multiple child scopes. More...
Public Member Functions | |
| CombinedScope (params Scope[] childScopes) | |
| Creates a new instance with child scopes. | |
| string | ToString (string format, IFormatProvider formatProvider) |
| Formats the scope into a string in the format <childscope>=<childscope_representation>[, <childscope>=<childscope_representation>]. | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| 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 | |
| System.Collections.Generic.IEnumerable< Scope > | ChildScopes [get] |
| the child scopes that make up the combined one. | |
Cretes a scope that consists of multiple child scopes.
| Joutsen.Logging.CombinedScope.CombinedScope | ( | params Scope[] | childScopes | ) |
Creates a new instance with child scopes.
| override bool Joutsen.Logging.CombinedScope.Equals | ( | object | obj | ) |
| override int Joutsen.Logging.CombinedScope.GetHashCode | ( | ) |
| Map< string, string > Joutsen.Logging.CombinedScope.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.CombinedScope.ToString | ( | ) |
| string Joutsen.Logging.CombinedScope.ToString | ( | string | format, |
| IFormatProvider | formatProvider | ||
| ) |
Formats the scope into a string in the format <childscope>=<childscope_representation>[, <childscope>=<childscope_representation>].
| format | the format to use to represent the scope. This is passed to all children. |
| formatProvider | a format provider used for lacation specific representation |
|
get |
the child scopes that make up the combined one.