System.Waf.Foundation.DataErrorInfoExtensions.Validate C# (CSharp) Метод

Validate() публичный статический Метод

Validates the specified object.
The argument instance must not be null.
public static Validate ( this instance ) : string
instance this The object to validate.
Результат string
        public static string Validate(this IDataErrorInfo instance)
        {
            if (instance == null) { throw new ArgumentNullException(nameof(instance)); }

            return instance.Error ?? "";
        }

Same methods

DataErrorInfoExtensions::Validate ( this instance, string memberName ) : string
DataErrorInfoExtensions