/// <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) { }
/// <inheritdoc /> public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager) { return(new ApplicationCompileHandler( parent, scheduledActivityManager, Host, new OwningComponentInformationRetriever(AssociatedEnvoy.ParentScope))); }
/// <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; }
/// <inheritdoc /> public TargetCompileHandler Create(DelegatingTargetCompiler parent, IScheduledActivityManager scheduledActivityManager) { return(new FunctionCompileHandler((TargetCompiler)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) { }