Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlazorObserverWeaver"/> class.
 /// </summary>
 /// <param name="parentWeaver">The parent weaver of this weaver.</param>
 /// <param name="processorQueue">The processor queue to add delegates to, to be executed on ISharedState property assignment.</param>
 /// <param name="weavingContext">The resolved types necessary by this weaver.</param>
 public BlazorObserverWeaver(ModuleWeaver parentWeaver, ISharedStateAssignmentILProcessorQueue processorQueue, BlazorWeavingContext weavingContext)
 {
     this.parentWeaver   = parentWeaver ?? throw new ArgumentNullException(nameof(parentWeaver));
     this.processorQueue = processorQueue ?? throw new ArgumentNullException(nameof(processorQueue));
     this.weavingContext = weavingContext ?? throw new ArgumentNullException(nameof(weavingContext));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReactiveObjectInterfaceWeaver"/> class.
 /// </summary>
 /// <param name="parentWeaver">The parent weaver.</param>
 /// <param name="weavingContext">The resolved types necessary by this weaver.</param>
 public ReactiveObjectInterfaceWeaver(ModuleWeaver parentWeaver, WeavingContext weavingContext)
 {
     this.parentWeaver   = parentWeaver ?? throw new ArgumentNullException(nameof(parentWeaver));
     this.weavingContext = weavingContext ?? throw new ArgumentNullException(nameof(weavingContext));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObservableObjectWeaverBase"/> class.
 /// </summary>
 /// <param name="parentWeaver">The parent weaver.</param>
 /// <param name="processorQueue">The processor queue to add delegates to.</param>
 /// <param name="weavingContext">The resolved types necessary by this weaver.</param>
 protected ObservableObjectWeaverBase(ModuleWeaver parentWeaver, ISharedStateAssignmentILProcessorQueue processorQueue, WeavingContext weavingContext)
 {
     this.ParentWeaver   = parentWeaver ?? throw new ArgumentNullException(nameof(parentWeaver));
     this.ProcessorQueue = processorQueue ?? throw new ArgumentNullException(nameof(processorQueue));
     this.WeavingContext = weavingContext ?? throw new ArgumentNullException(nameof(weavingContext));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObservableWeaver"/> class.
 /// </summary>
 /// <param name="parentWeaver">A reference to the Parent Cortex.Net weaver.</param>
 /// <param name="enumerableInterfaceWeaver">An implementation of <see cref="IEnumerableInterfaceWeaver" />.</param>
 /// <param name="processorQueue">The queue to add ILProcessor actions to.</param>
 /// <param name="weavingContext">The resolved types necessary by this weaver.</param>
 /// <exception cref="ArgumentNullException">When any of the arguments is null.</exception>
 public ObservableWeaver(ModuleWeaver parentWeaver, IEnumerableInterfaceWeaver enumerableInterfaceWeaver, ISharedStateAssignmentILProcessorQueue processorQueue, WeavingContext weavingContext)
     : base(parentWeaver, processorQueue, weavingContext)
 {
     this.enumerableInterfaceWeaver = enumerableInterfaceWeaver ?? throw new ArgumentNullException(nameof(enumerableInterfaceWeaver));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputedWeaver"/> class.
 /// </summary>
 /// <param name="parentWeaver">A reference to the Parent Cortex.Net weaver.</param>
 /// <param name="processorQueue">The queue to add ILProcessor actions to.</param>
 /// <exception cref="ArgumentNullException">When any of the arguments is null.</exception>
 /// <param name="weavingContext">The resolved types necessary by this weaver.</param>
 public ComputedWeaver(ModuleWeaver parentWeaver, ISharedStateAssignmentILProcessorQueue processorQueue, WeavingContext weavingContext)
     : base(parentWeaver, processorQueue, weavingContext)
 {
 }