Exemple #1
0
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <MSBuildAssemblyLoadIssue.IFooService> .Register((x, y, z) => new MSBuildAssemblyLoadIssue.FooServiceClient(x, y, z));
        }
        // [UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)]
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <RM.Hotel.IStoreService> .Register((x, y, z) => new RM.Hotel.StoreServiceClient(x, y, z));
        }
Exemple #3
0
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <ChatApp.Shared.Services.IChatService> .Register((x, y, z) => new ChatApp.Shared.Services.ChatServiceClient(x, y, z));

            StreamingHubClientRegistry <ChatApp.Shared.Hubs.IChatHub, ChatApp.Shared.Hubs.IChatHubReceiver> .Register((a, _, b, c, d, e) => new ChatApp.Shared.Hubs.ChatHubClient(a, b, c, d, e));
        }
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <Assets.Scripts.ServerShared.Services.IChatService> .Register((x, y) => new Assets.Scripts.ServerShared.Services.IChatServiceClient(x, y));

            StreamingHubClientRegistry <Assets.Scripts.ServerShared.Hubs.IChatHub, Assets.Scripts.ServerShared.Hubs.IChatHubReceiver> .Register((a, _, b, c, d, e) => new Assets.Scripts.ServerShared.Hubs.IChatHubClient(a, b, c, d, e));
        }
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <Sample.Shared.ISampleService> .Register((x, y, z) => new Sample.Shared.SampleServiceClient(x, y, z));

            StreamingHubClientRegistry <Sample.Shared.ISampleHub, Sample.Shared.ISampleHubReceiver> .Register((a, _, b, c, d, e) => new Sample.Shared.SampleHubClient(a, b, c, d, e));
        }
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <GrpcService1.Shared.IMyFirstService> .Register((x, y, z) => new GrpcService1.Shared.MyFirstServiceClient(x, y, z));

            StreamingHubClientRegistry <GrpcService1.Shared.IGamingHub, GrpcService1.Shared.IGamingHubReceiver> .Register((a, _, b, c, d, e) => new GrpcService1.Shared.GamingHubClient(a, b, c, d, e));
        }
Exemple #7
0
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <Sandbox.NetCoreServer.Services.IMyFirstService> .Register((x, y) => new Sandbox.NetCoreServer.Services.IMyFirstServiceClient(x, y));

            StreamingHubClientRegistry <Sandbox.NetCoreServer.Hubs.IChatHub, Sandbox.NetCoreServer.Hubs.IMessageReceiver2> .Register((a, _, b, c, d, e) => new Sandbox.NetCoreServer.Hubs.IChatHubClient(a, b, c, d, e));

            StreamingHubClientRegistry <Sandbox.NetCoreServer.Hubs.ITestHub, Sandbox.NetCoreServer.Hubs.IMessageReceiver> .Register((a, _, b, c, d, e) => new Sandbox.NetCoreServer.Hubs.ITestHubClient(a, b, c, d, e));
        }
Exemple #8
0
        public static void Register()
        {
            MagicOnionClientRegistry <Sandbox.ConsoleServer.IArgumentPattern> .Register(x => new Sandbox.ConsoleServer.IArgumentPatternClient(x), x => new Sandbox.ConsoleServer.IArgumentPatternClient(x));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IChatRoomService> .Register(x => new Sandbox.ConsoleServer.IChatRoomServiceClient(x), x => new Sandbox.ConsoleServer.IChatRoomServiceClient(x));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IHeartbeat> .Register(x => new Sandbox.ConsoleServer.IHeartbeatClient(x), x => new Sandbox.ConsoleServer.IHeartbeatClient(x));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.ISendMetadata> .Register(x => new Sandbox.ConsoleServer.ISendMetadataClient(x), x => new Sandbox.ConsoleServer.ISendMetadataClient(x));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IStandard> .Register(x => new Sandbox.ConsoleServer.IStandardClient(x), x => new Sandbox.ConsoleServer.IStandardClient(x));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IMyFirstService> .Register(x => new Sandbox.ConsoleServer.IMyFirstServiceClient(x), x => new Sandbox.ConsoleServer.IMyFirstServiceClient(x));
        }
Exemple #9
0
        public static void Register()
        {
            if (isRegistered)
            {
                return;
            }
            isRegistered = true;

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IArgumentPattern> .Register((x, y) => new Sandbox.ConsoleServer.IArgumentPatternClient(x, y));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IChatRoomService> .Register((x, y) => new Sandbox.ConsoleServer.IChatRoomServiceClient(x, y));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IHeartbeat> .Register((x, y) => new Sandbox.ConsoleServer.IHeartbeatClient(x, y));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.ISendMetadata> .Register((x, y) => new Sandbox.ConsoleServer.ISendMetadataClient(x, y));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IStandard> .Register((x, y) => new Sandbox.ConsoleServer.IStandardClient(x, y));

            MagicOnionClientRegistry <Sandbox.ConsoleServer.IMyFirstService> .Register((x, y) => new Sandbox.ConsoleServer.IMyFirstServiceClient(x, y));
        }