/// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 {
     return(new ApplicationCompileHandler(
                parent,
                scheduledActivityManager,
                Host,
                new OwningComponentInformationRetriever(AssociatedEnvoy.ParentScope)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Standard constructor.
 /// </summary>
 /// <param name="parent">Target compiler that owns this compile handler.</param>
 /// <param name="scheduledActivityManager">The <see cref="IScheduledActivityManager"/> associated with this compile handler.</param>
 /// <param name="host">The <see cref="ICompositionHost"/> associated with this compile handler.</param>
 /// <param name="owningComponentInformationRetriever"><see cref="OwningComponentInformationRetriever"/> instance that will be used for fetching <see cref="OwningComponentInformation"/>s during Member-building.</param>
 public ApplicationCompileHandler(
     DelegatingTargetCompiler parent,
     IScheduledActivityManager scheduledActivityManager,
     ICompositionHost host,
     OwningComponentInformationRetriever owningComponentInformationRetriever)
     : base(parent, scheduledActivityManager, host, owningComponentInformationRetriever)
 {
 }
 /// <summary>
 /// Base constructor of <see cref="ApplicationComponentMocReflector"/>
 /// </summary>
 /// <param name="source">An interface allowing the reflector to talk to the source model</param>
 /// <param name="reflectionCancellationToken">A token to poll for whether to do reflection or not</param>
 /// <param name="scheduledActivityManager">The activity used to flip over into the UI thread as needed to do reflections</param>
 /// <param name="additionalErrorTexts">Supplies third-party message descriptions for this MoC</param>
 /// <param name="buildSpecSource">Source of the BuildSpec for which to reflect messages</param>
 /// <param name="compileSpecification">The <see cref="CompileSpecification"/> for which to reflect messages</param>
 internal ApplicationComponentMocReflector(
     IReflectableModel source,
     ReflectionCancellationToken reflectionCancellationToken,
     IScheduledActivityManager scheduledActivityManager,
     IMessageDescriptorTranslator additionalErrorTexts,
     Envoy buildSpecSource,
     CompileSpecification compileSpecification)
     : base(source, reflectionCancellationToken, scheduledActivityManager, additionalErrorTexts, buildSpecSource, compileSpecification)
 {
 }
Exemplo n.º 4
0
 public FunctionMocReflector(
     IReflectableModel source,
     ReflectionCancellationToken reflectionCancellationToken,
     IScheduledActivityManager scheduledActivityManager,
     IMessageDescriptorTranslator additionalErrorTexts,
     Envoy buildSpecSource,
     SpecAndQName specAndQName,
     DfirModelMap map) :
     base(source, reflectionCancellationToken, scheduledActivityManager, additionalErrorTexts, buildSpecSource, specAndQName)
 {
     _map = map;
 }
Exemplo n.º 5
0
 /// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 {
     return(new FunctionCompileHandler((TargetCompiler)parent, scheduledActivityManager));
 }
 /// <summary>
 /// Creates a new compiler instance
 /// </summary>
 /// <param name="parent">The target compiler for which this is a sub-compiler.</param>
 /// <param name="scheduledActivityManager">The scheduler for any asynchronous tasks that must be executed by the compiler.</param>
 public FunctionCompileHandler(TargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
     : base(parent, scheduledActivityManager)
 {
 }
 /// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 => new DefaultNativeTargetCompileHandler(parent, scheduledActivityManager);
 /// <summary>
 /// Creates a new compiler instance
 /// </summary>
 /// <param name="parent">The target compiler for which this is a sub-compiler.</param>
 /// <param name="scheduledActivityManager">The scheduler for any asynchronous tasks that must be executed by the compiler.</param>
 public DefaultNativeTargetCompileHandler(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
     : base(parent, scheduledActivityManager)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 /// Creates a new compiler instance
 /// </summary>
 /// <param name="parent">The target compiler for which this is a sub-compiler.</param>
 /// <param name="scheduledActivityManager">The scheduler for any asynchronous tasks that must be executed by the compiler.</param>
 public TypeDiagramCompileHandler(TargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
     : base(parent, scheduledActivityManager)
 {
 }