コード例 #1
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)
 {
 }
コード例 #2
0
 /// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 {
     return(new ApplicationCompileHandler(
                parent,
                scheduledActivityManager,
                Host,
                new OwningComponentInformationRetriever(AssociatedEnvoy.ParentScope)));
 }
コード例 #3
0
 /// <summary>
 /// Create an instance of <see cref="ApplicationMemberBuilderBehavior"/>.
 /// </summary>
 /// <param name="compiler"><see cref="DelegatingTargetCompiler"/> used by <see cref="GetCompileInformation"/>.</param>
 public ApplicationMemberBuilderBehavior(DelegatingTargetCompiler compiler)
 {
     Compiler = compiler;
 }
コード例 #4
0
 /// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 {
     return(new FunctionCompileHandler((TargetCompiler)parent, scheduledActivityManager));
 }
コード例 #5
0
 /// <inheritdoc />
 public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
 => new DefaultNativeTargetCompileHandler(parent, scheduledActivityManager);
コード例 #6
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 DefaultNativeTargetCompileHandler(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager)
     : base(parent, scheduledActivityManager)
 {
 }