コード例 #1
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="attributes">TBD</param>
 /// <returns>TBD</returns>
 public abstract ActorMaterializerSettings EffectiveSettings(Attributes attributes);
コード例 #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;
 }
コード例 #3
0
 /// <inheritdoc />
 public abstract TMat Materialize <TMat>(IGraph <ClosedShape, TMat> runnable, Attributes initialAttributes);
コード例 #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");
 }
コード例 #5
0
 public IGraph <TShape, TMat> Named(string name) => AddAttributes(Attributes.CreateName(name));
コード例 #6
0
 public IGraph <TShape, TMat> AddAttributes(Attributes attributes) => WithAttributes(Module.Attributes.And(attributes));
コード例 #7
0
 public IGraph <TShape, TMat> WithAttributes(Attributes attributes) => new FusedGraph <TShape, TMat>(Module.WithAttributes(attributes) as FusedModule, Shape);
コード例 #8
0
ファイル: Fusing.cs プロジェクト: yyp2003net/akka.net
 /// <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);