Ejemplo n.º 1
0
        public Task <IGrainReminder> GetReminder(string reminderName)
        {
            if (String.IsNullOrEmpty(reminderName))
            {
                throw new ArgumentException("Cannot use null or empty name for the reminder", "reminderName");
            }

            return(GrainService.GetReminder(CallingGrainReference, reminderName));
        }
Ejemplo n.º 2
0
        public Task <IGrainReminder> GetReminder(string reminderName)
        {
            this.EnsureReminderServiceRegistered();
            if (string.IsNullOrEmpty(reminderName))
            {
                throw new ArgumentException("Cannot use null or empty name for the reminder", nameof(reminderName));
            }

            return(GrainService.GetReminder(CallingGrainReference, reminderName));
        }