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
namespace NetArchExample.Utils
{
using System.Collections.Generic;
/// <summary>
/// Class KeyValuePairExtensions.
/// </summary>
public static class KeyValuePairExtensions
{
/// <summary>
/// Deconstruct a key value pair.
/// </summary>
/// <param name="tuple">The tuple.</param>
/// <param name="key">The deconstructed key.</param>
/// <param name="value">The deconstructed value.</param>
/// <typeparam name="T1">The type of the key.</typeparam>
/// <typeparam name="T2">The type of the value.</typeparam>
public static void Deconstruct<T1, T2>(this KeyValuePair<T1, T2> tuple, out T1 key, out T2 value)
{
key = tuple.Key;
value = tuple.Value;
}
}
}
The text was updated successfully, but these errors were encountered:
I have a problem to check types that have methods with generic types.
The explementation for the failing type is "Has dependency on: T1&"
How I can allow this dep or ignore it?
Test
Code
The text was updated successfully, but these errors were encountered: