예제 #1
0
        internal void OnSuccess(CachedImageEvents.SuccessEventArgs e)
        {
            var handler = Success;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
        internal void OnSuccess(CachedImageEvents.SuccessEventArgs e)
        {
            var handler = Success;

            if (handler != null)
            {
                handler(this, e);
            }

            var successCommand = SuccessCommand;

            if (successCommand != null && successCommand.CanExecute(e))
            {
                successCommand.Execute(e);
            }
        }