Exemplo n.º 1
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="attributes">TBD</param>
 /// <returns>TBD</returns>
 public abstract ActorMaterializerSettings EffectiveSettings(Attributes attributes);
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <inheritdoc />
 public abstract TMat Materialize <TMat>(IGraph <ClosedShape, TMat> runnable, Attributes initialAttributes);
Exemplo n.º 4
0
 /// <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");
 }
Exemplo n.º 5
0
 public IGraph <TShape, TMat> Named(string name) => AddAttributes(Attributes.CreateName(name));
Exemplo n.º 6
0
 public IGraph <TShape, TMat> AddAttributes(Attributes attributes) => WithAttributes(Module.Attributes.And(attributes));
Exemplo n.º 7
0
 public IGraph <TShape, TMat> WithAttributes(Attributes attributes) => new FusedGraph <TShape, TMat>(Module.WithAttributes(attributes) as FusedModule, Shape);
Exemplo n.º 8
0
 /// <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);