Amss.Boilerplate.Business.Exceptions.ValidationFailureInfo.ValidationFailureInfo C# (CSharp) Метод

ValidationFailureInfo() публичный Метод

public ValidationFailureInfo ( string propertyName, string error, string errorCode = null, object attemtedValue = null, object customState = null ) : System
propertyName string
error string
errorCode string
attemtedValue object
customState object
Результат System
        public ValidationFailureInfo(
            string propertyName,
            string error,
            string errorCode = null,
            object attemtedValue = null,
            object customState = null)
        {
            this.PropertyName = propertyName;
            this.ErrorMessage = error;
            this.ErrorCode = errorCode;
            this.AttemptedValue = attemtedValue;
            this.CustomState = customState;
        }