/// <summary> /// TBD /// </summary> /// <param name="attributes">TBD</param> /// <returns>TBD</returns> public abstract ActorMaterializerSettings EffectiveSettings(Attributes attributes);
/// <summary> /// TBD /// </summary> /// <param name="materializer">TBD</param> /// <param name="effectiveAttributes">TBD</param> /// <param name="stageName">TBD</param> public MaterializationContext(IMaterializer materializer, Attributes effectiveAttributes, string stageName) { Materializer = materializer; EffectiveAttributes = effectiveAttributes; StageName = stageName; }
/// <inheritdoc /> public abstract TMat Materialize <TMat>(IGraph <ClosedShape, TMat> runnable, Attributes initialAttributes);
/// <summary> /// N/A /// </summary> /// <typeparam name="TMat">N/A</typeparam> /// <param name="runnable">N/A</param> /// <param name="initialAttributes">N/A</param> /// <exception cref="NotSupportedException"> /// This exception is automatically thrown since <see cref="NoMaterializer"/> cannot be materialized. /// </exception> /// <returns>N/A</returns> public TMat Materialize <TMat>(IGraph <ClosedShape, TMat> runnable, Attributes initialAttributes) { throw new NotSupportedException("NoMaterializer cannot materialize"); }
public IGraph <TShape, TMat> Named(string name) => AddAttributes(Attributes.CreateName(name));
public IGraph <TShape, TMat> AddAttributes(Attributes attributes) => WithAttributes(Module.Attributes.And(attributes));
public IGraph <TShape, TMat> WithAttributes(Attributes attributes) => new FusedGraph <TShape, TMat>(Module.WithAttributes(attributes) as FusedModule, Shape);
/// <summary> /// Return the StructuralInfo for this Graph without any fusing /// </summary> public static StructuralInfoModule StructuralInfo <TShape, TMat>(IGraph <TShape, TMat> graph, Attributes attributes) where TShape : Shape => Implementation.Fusing.Fusing.StructuralInfo(graph, attributes);