Example #1
0
        public static void UpdateStatus(this IStatusProvider provider, Status status)
        {
            if (provider == null)
            {
                return;
            }

            if (provider.OnStatusChange != null)
            {
                provider.OnStatusChange(status);
            }
        }