Fixed GetDeterministicHashCodeAsString (use InvariantCulture) (#41)

* Akka.Remote example

* ToString(CultureInfo.InvariantCulture)

* .
This commit is contained in:
Stef Heyenrath
2022-12-13 16:42:59 +01:00
committed by GitHub
parent 1e30471a0c
commit a98db7aac2
15 changed files with 369 additions and 19 deletions
@@ -0,0 +1,144 @@
//----------------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------------------------------------------------------
#nullable enable
using System;
namespace ProxyInterfaceSourceGeneratorTests.Source.AkkaActor
{
public partial class LocalActorRefProviderProxy : ILocalActorRefProvider
{
public Akka.Actor.LocalActorRefProvider _Instance { get; }
public Akka.Actor.IActorRef DeadLetters { get => _Instance.DeadLetters; }
public Akka.Actor.IActorRef IgnoreRef { get => _Instance.IgnoreRef; }
public Akka.Actor.Deployer Deployer { get => _Instance.Deployer; }
public Akka.Actor.IInternalActorRef RootGuardian { get => _Instance.RootGuardian; }
public Akka.Actor.ActorPath RootPath { get => _Instance.RootPath; }
public Akka.Actor.Settings Settings { get => _Instance.Settings; }
public Akka.Actor.LocalActorRef SystemGuardian { get => _Instance.SystemGuardian; }
public Akka.Actor.IInternalActorRef TempContainer { get => _Instance.TempContainer; }
public System.Threading.Tasks.Task TerminationTask { get => _Instance.TerminationTask; }
public Akka.Actor.LocalActorRef Guardian { get => _Instance.Guardian; }
public Akka.Event.EventStream EventStream { get => _Instance.EventStream; }
public Akka.Actor.Address DefaultAddress { get => _Instance.DefaultAddress; }
public Akka.Serialization.Information SerializationInformation { get => _Instance.SerializationInformation; }
public Akka.Event.ILoggingAdapter Log { get => _Instance.Log; }
public Akka.Actor.ActorPath TempPath()
{
var result_690338229 = _Instance.TempPath();
return result_690338229;
}
public void RegisterExtraName(string name, Akka.Actor.IInternalActorRef actor)
{
string name_ = name;
Akka.Actor.IInternalActorRef actor_ = actor;
_Instance.RegisterExtraName(name_, actor_);
}
public Akka.Actor.IActorRef RootGuardianAt(Akka.Actor.Address address)
{
Akka.Actor.Address address_ = address;
var result__1703611252 = _Instance.RootGuardianAt(address_);
return result__1703611252;
}
public void RegisterTempActor(Akka.Actor.IInternalActorRef actorRef, Akka.Actor.ActorPath path)
{
Akka.Actor.IInternalActorRef actorRef_ = actorRef;
Akka.Actor.ActorPath path_ = path;
_Instance.RegisterTempActor(actorRef_, path_);
}
public void UnregisterTempActor(Akka.Actor.ActorPath path)
{
Akka.Actor.ActorPath path_ = path;
_Instance.UnregisterTempActor(path_);
}
public Akka.Actor.FutureActorRef<T> CreateFutureRef<T>(System.Threading.Tasks.TaskCompletionSource<T> tcs)
{
System.Threading.Tasks.TaskCompletionSource<T> tcs_ = tcs;
var result_1137255884 = _Instance.CreateFutureRef<T>(tcs_);
return result_1137255884;
}
public void Init(Akka.Actor.Internal.ActorSystemImpl system)
{
Akka.Actor.Internal.ActorSystemImpl system_ = system;
_Instance.Init(system_);
}
public Akka.Actor.IActorRef ResolveActorRef(string path)
{
string path_ = path;
var result_1085051580 = _Instance.ResolveActorRef(path_);
return result_1085051580;
}
public Akka.Actor.IActorRef ResolveActorRef(Akka.Actor.ActorPath path)
{
Akka.Actor.ActorPath path_ = path;
var result_1085051580 = _Instance.ResolveActorRef(path_);
return result_1085051580;
}
public Akka.Actor.IInternalActorRef ActorOf(Akka.Actor.Internal.ActorSystemImpl system, Akka.Actor.Props props, Akka.Actor.IInternalActorRef supervisor, Akka.Actor.ActorPath path, bool systemService, Akka.Actor.Deploy deploy, bool lookupDeploy, bool @async)
{
Akka.Actor.Internal.ActorSystemImpl system_ = system;
Akka.Actor.Props props_ = props;
Akka.Actor.IInternalActorRef supervisor_ = supervisor;
Akka.Actor.ActorPath path_ = path;
bool systemService_ = systemService;
Akka.Actor.Deploy deploy_ = deploy;
bool lookupDeploy_ = lookupDeploy;
bool @async_ = @async;
var result_540498530 = _Instance.ActorOf(system_, props_, supervisor_, path_, systemService_, deploy_, lookupDeploy_, @async_);
return result_540498530;
}
public Akka.Actor.Address GetExternalAddressFor(Akka.Actor.Address address)
{
Akka.Actor.Address address_ = address;
var result_1116520814 = _Instance.GetExternalAddressFor(address_);
return result_1116520814;
}
public LocalActorRefProviderProxy(Akka.Actor.LocalActorRefProvider instance)
{
_Instance = instance;
}
}
}
#nullable disable
@@ -0,0 +1,76 @@
//----------------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------------------------------------------------------
#nullable enable
using System;
namespace ProxyInterfaceSourceGeneratorTests.Source.AkkaActor
{
public partial interface ILocalActorRefProvider
{
Akka.Actor.LocalActorRefProvider _Instance { get; }
Akka.Actor.IActorRef DeadLetters { get; }
Akka.Actor.IActorRef IgnoreRef { get; }
Akka.Actor.Deployer Deployer { get; }
Akka.Actor.IInternalActorRef RootGuardian { get; }
Akka.Actor.ActorPath RootPath { get; }
Akka.Actor.Settings Settings { get; }
Akka.Actor.LocalActorRef SystemGuardian { get; }
Akka.Actor.IInternalActorRef TempContainer { get; }
System.Threading.Tasks.Task TerminationTask { get; }
Akka.Actor.LocalActorRef Guardian { get; }
Akka.Event.EventStream EventStream { get; }
Akka.Actor.Address DefaultAddress { get; }
Akka.Serialization.Information SerializationInformation { get; }
Akka.Event.ILoggingAdapter Log { get; }
Akka.Actor.ActorPath TempPath();
void RegisterExtraName(string name, Akka.Actor.IInternalActorRef actor);
Akka.Actor.IActorRef RootGuardianAt(Akka.Actor.Address address);
void RegisterTempActor(Akka.Actor.IInternalActorRef actorRef, Akka.Actor.ActorPath path);
void UnregisterTempActor(Akka.Actor.ActorPath path);
Akka.Actor.FutureActorRef<T> CreateFutureRef<T>(System.Threading.Tasks.TaskCompletionSource<T> tcs);
void Init(Akka.Actor.Internal.ActorSystemImpl system);
Akka.Actor.IActorRef ResolveActorRef(string path);
Akka.Actor.IActorRef ResolveActorRef(Akka.Actor.ActorPath path);
Akka.Actor.IInternalActorRef ActorOf(Akka.Actor.Internal.ActorSystemImpl system, Akka.Actor.Props props, Akka.Actor.IInternalActorRef supervisor, Akka.Actor.ActorPath path, bool systemService, Akka.Actor.Deploy deploy, bool lookupDeploy, bool @async);
Akka.Actor.Address GetExternalAddressFor(Akka.Actor.Address address);
}
}
#nullable disable