Class BuiltinContextsProviderFactory
Implementation of IGetsBuiltinContextsProvider which uses dependency injection to backfill the other dependencies, as well as the context & config. This may also return the contexts provider from RootContextsProvider if it is not-null.
Inheritance
System.Object
BuiltinContextsProviderFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.dll
Syntax
public class BuiltinContextsProviderFactory : IGetsBuiltinContextsProvider
Constructors
| Improve this Doc View SourceBuiltinContextsProviderFactory(IGetsMetalDocumentAdapter)
Initializes a new instance of the BuiltinContextsProviderFactory class.
Declaration
public BuiltinContextsProviderFactory(IGetsMetalDocumentAdapter metalDocumentAdapterFactory)
Parameters
Type | Name | Description |
---|---|---|
IGetsMetalDocumentAdapter | metalDocumentAdapterFactory | Metal document adapter factory. |
Methods
| Improve this Doc View SourceGetBuiltinContextsProvider(ExpressionContext, RenderingConfig)
Gets the builtin contexts provider for the specified context & config.
Declaration
public IGetsDictionaryOfNamedTalesValues GetBuiltinContextsProvider(ExpressionContext context, RenderingConfig config)
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | context | Expression context. |
RenderingConfig | config | Rendering configuration. |
Returns
Type | Description |
---|---|
IGetsDictionaryOfNamedTalesValues | The builtin contexts provider. |