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
/// Gets the actual value of this <see cref="Guid"/> instance, if it is different from <c>Guid.Empty</c>; otherwise, returns the specified default value.
75
+
/// </summary>
76
+
/// <param name="input">The <see cref="Guid"/> to test.</param>
77
+
/// <param name="defaultValue">The default <see cref="Guid"/> to return if the input is <c>Guid.Empty</c>.</param>
78
+
/// <returns>The actual value of this <see cref="Guid"/> instance, if it is different from <c>Guid.Empty</c>; otherwise, the specified default value.</returns>
/// Gets the actual value of this <see cref="Guid"/> instance, if it is different from <see langword="null"/> and <c>Guid.Empty</c>; otherwise, creates a new <see cref="Guid"/> using <see cref="Guid.NewGuid()"/>.
75
84
/// </summary>
@@ -78,6 +87,15 @@ public static Guid GetValueOrCreateNew(this Guid input)
/// Gets the actual value of this <see cref="Guid"/> instance, if it is different from <see langword="null"/> and <c>Guid.Empty</c>; otherwise, returns the specified default value.
92
+
/// </summary>
93
+
/// <param name="input">The <see cref="Guid"/> to test.</param>
94
+
/// <param name="defaultValue">The default <see cref="Guid"/> to return if the input is <see langword="null"/> or <c>Guid.Empty</c>.</param>
95
+
/// <returns>The actual value of this <see cref="Guid"/> instance, if it is different from <see langword="null"/> and <c>Guid.Empty</c>; otherwise, the specified default value.</returns>
/// Gets the actual value of this <see cref="Guid"/> instance, if it is different from <c>Guid.Empty</c>; otherwise, creates a new <see cref="Guid"/> using <see cref="Guid.NewGuid()"/>.
0 commit comments