/// <summary>
 /// Converts provided <see cref="IChannelBinding"/> info to <see cref="ChannelBinding"/>.
 /// </summary>
 /// <param name="abstraction">Instance of <see cref="IChannelBinding"/> to convert.</param>
 /// <returns>An instance of <see cref="ChannelBinding"/>.</returns>
 public static ChannelBinding ToImplementation(this IChannelBinding abstraction)
 {
     return(((IAbstraction <ChannelBinding>)abstraction)?.UnsafeConvert());
 }
예제 #2
0
 public static ChannelBinding ToImplementation([CanBeNull] this IChannelBinding abstraction)
 {
     // ReSharper disable once RedundantCast
     return(((IAbstraction <ChannelBinding>)abstraction)?.UnsafeConvert());
 }