Ejemplo n.º 1
0
        public static IMessageBox Notice([NotNull] this IMessageBox definition, [CanBeNull] IResult result)
        {
            if (definition == null)
            {
                throw new ArgumentNullException(nameof(definition));
            }

            return(definition.Notice((result?.HasError ?? false) ? result.ErrorDescription : null));
        }