Class fsContext
fsContext stores global metadata that can be used to customize how
fsConverters operate during serialization.
Syntax
public sealed class fsContext
Methods
Get<T>()
Fetches the context object for the given type.
Declaration
Returns
Type Parameters
Has<T>()
Returns true if there is a context object for the given type.
Declaration
Returns
Type Parameters
Reset()
Removes all context objects from the context.
Declaration
Set<T>(T)
Sets the context object for the given type with the given value.
Declaration
public void Set<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Type Parameters
Extension Methods