You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Appends an exception to the error message collection and logs the full exception as an Error <see cref="LogEventLevel"/> level. A call to this method will set the Success property to false.
87
+
/// </summary>
88
+
/// <param name="exception">The exception to log.</param>
/// Use this method to check if a value is a valid string.
104
+
/// If <paramref name="value"/> is null, empty or consists only of whitespace characters, an error message should be appended and a log of the passed <paramref name="level"/> severity would be created.
105
+
/// </summary>
106
+
/// <param name="value">The value that should be validated.</param>
107
+
/// <param name="className">The name of the class where the <paramref name="methodName"/> is defined.</param>
108
+
/// <param name="methodName">The name of he method where <paramref name="value"/> is used.</param>
109
+
/// <param name="propertyName">The name of the property.</param>
/// Use this method to check if a value is not null.
122
+
/// If you want to validate that an entity exists, use the "ValidateExist" extension method.
123
+
/// If you want to validate that the currently authenticated user is not null, use the "ValidateUser" extension method.
124
+
/// If <paramref name="value"/> is null, an error message should be appended and a log of the passed <paramref name="level"/> severity would be created.
125
+
/// </summary>
126
+
/// <param name="value">The value that should be validated.</param>
127
+
/// <param name="className">The name of the class where the <paramref name="methodName"/> is defined.</param>
128
+
/// <param name="methodName">The name of he method where <paramref name="value"/> is used.</param>
129
+
/// <param name="propertyName">The name of the property.</param>
/// Use this method to check if a value is equal to its default value.
142
+
/// If <paramref name="value"/> is equal to its default value, an error message should be appended and a log of the passed <paramref name="level"/> severity would be created.
143
+
/// </summary>
144
+
/// <typeparam name="TValue">The type of the <paramref name="value"/>.</typeparam>
145
+
/// <param name="value">The value that should be validated.</param>
146
+
/// <param name="className">The name of the class where the <paramref name="methodName"/> is defined.</param>
147
+
/// <param name="methodName">The name of he method where <paramref name="value"/> is used.</param>
148
+
/// <param name="propertyName">The name of the property.</param>
/// Use this method to check if a value is not null and not an empty collection.
162
+
/// If <paramref name="value"/> is null or an empty collection, an error message should be appended and a log of the passed <paramref name="level"/> severity would be created.
163
+
/// </summary>
164
+
/// <typeparam name="T">The type of the underlying entities that are stored within the requested collection.</typeparam>
165
+
/// <param name="value">The collection that should be validated.</param>
166
+
/// <param name="className">The name of the class where the <paramref name="methodName"/> is defined.</param>
167
+
/// <param name="methodName">The name of he method where <paramref name="value"/> is used.</param>
168
+
/// <param name="identifierPropertyName">The name of the entity's unique identifier property.</param>
/// Initializes a new instance of the <see cref="OperationResult"/> class and sets the passed result object. Internally, this will set the Success result to True.
224
+
/// </summary>
225
+
/// <param name="resultObject">An initial failure message for the operation result. This will fail the success status.</param>
226
+
/// <param name="loggerService">An instance of <see cref="ILoggerService"/>.</param>
227
+
/// <remarks>If the operation is a get operation, an empty result must return a truthy Success value.</remarks>
0 commit comments