aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/Web
ModeNameSize
-rw-r--r--JWT_Tokens_TST.cs2415logstatsplain
using RealTimeGraphX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// Contains a set of <see cref="IGraphComponent"/> extension methods.
/// </summary>
public static class IGraphComponentExtensions
{
    /// <summary>
    /// Throws a null argument exception if the specified component is null.
    /// </summary>
    /// <param name="component">The component.</param>
    /// <param name="message">The message.</param>
    /// <exception cref="NullReferenceException"></exception>
    public static void ThrowIfNull(this IGraphComponent component, String message)
    {
        if (component == null)
        {
            throw new NullReferenceException(message);
        }
    }
}