Esempio n. 1
0
 private void OnPlanChanged(PlanChanged planChanged) {
     Clients.Group(planChanged.OrganizationId).planChanged(planChanged);
 }
        private Task OnPlanChangedAsync(PlanChanged planChanged, CancellationToken cancellationToken = default(CancellationToken)) {
            if (planChanged != null)
                return Context.Groups.TypedSend(planChanged.OrganizationId, planChanged);

            return TaskHelper.Completed();
        }
        private Task OnPlanChangedAsync(PlanChanged planChanged, CancellationToken cancellationToken = default(CancellationToken)) {
            if (planChanged != null)
                return GroupSendAsync(planChanged.OrganizationId, planChanged);

            return Task.CompletedTask;
        }