Boo.Lang.Runtime.RuntimeServices.EmitPromotionDispatcher C# (CSharp) Метод

EmitPromotionDispatcher() приватный статический Метод

private static EmitPromotionDispatcher ( Type fromType, Type toType ) : Dispatcher
fromType System.Type
toType System.Type
Результат Dispatcher
        private static Dispatcher EmitPromotionDispatcher(Type fromType, Type toType)
        {
            return (Dispatcher)Delegate.CreateDelegate(typeof(Dispatcher), typeof(NumericPromotions).GetMethod("From" + Type.GetTypeCode(fromType) + "To" + Type.GetTypeCode(toType)));
        }
RuntimeServices