public BondSerializer(Akka.Actor.ExtendedActorSystem system, BondSerializerSettings settings) : base(system)
        {
            this.Settings = settings;
            this.typeSerializerFactory = ConstructTypeSerializerFactory(settings);

            LocalSystem.Value = system;
        }
示例#2
0
 /// <summary>
 /// Creates the current extension using a given actor system.
 /// </summary>
 /// <param name="system">The actor system to use when creating the extension.</param>
 /// <returns>The extension created using the given actor system.</returns>
 public abstract T CreateExtension(ExtendedActorSystem system);
示例#3
0
 object IExtensionId.CreateExtension(ExtendedActorSystem system)
 {
     return(CreateExtension(system));
 }
 public BondSerializer(Akka.Actor.ExtendedActorSystem system, Config config) : this(system, BondSerializerSettings.Create(config))
 {
 }
 public BondSerializer(Akka.Actor.ExtendedActorSystem system) : this(system, BondSerializerSettings.Default)
 {
 }