public void AddActivation <TParent>(OdoyuleRulesEngine rulesEngine, AlphaNode <TParent> activation)
            where TParent : class
        {
            AlphaNode <TParent> alphaNode = rulesEngine.GetAlphaNode <TParent>();

            Type convertNodeType = typeof(ConvertNode <,>).MakeGenericType(typeof(TParent), typeof(T));
            var  adapter         = (Activation <TParent>)Activator.CreateInstance(convertNodeType, alphaNode);

            activation.AddActivation(adapter);
        }
 public virtual bool Visit <T>(AlphaNode <T> node, Func <RuntimeModelVisitor, bool> next)
     where T : class
 {
     return(next(this));
 }