Exemple #1
0
 public Context(BindingContext context)
 {
     Value       = context.Value;
     _descriptor = context.ObjectDescriptor;
 }
Exemple #2
0
 public Context(BindingContext context, object value)
 {
     Value       = value;
     _descriptor = context.ObjectDescriptor;
 }
 internal static BindingContext Create(ICompiledHandlebarsConfiguration configuration, object value, BindingContext parent,
                                       TemplateDelegate partialBlockTemplate)
 {
     return(Pool.CreateContext(configuration, value, parent, partialBlockTemplate));
 }