using RealTimeGraphX; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /// /// Contains a set of extension methods. /// public static class IGraphComponentExtensions { /// /// Throws a null argument exception if the specified component is null. /// /// The component. /// The message. /// public static void ThrowIfNull(this IGraphComponent component, String message) { if (component == null) { throw new NullReferenceException(message); } } }