Beispiel #1
0
        private NetworkEventMonitor ConnectIdentity(string identityID)
        {
            var monitor = Connect();

            var task = new RegisterIdentityTask
            {
                IdentityID = identityID,

                Client = new ClientInfo
                {
                    InstanceID = "InstanceID"
                }
            };

            simulation.RegisterIdentity(task);

            return(monitor);
        }
Beispiel #2
0
        public async Task <RegisterIdentityTask> RegisterIdentity(RegisterIdentityTask task)
        {
            await CallService();

            return(simulation.RegisterIdentity(PrepareTask(task)));
        }