/// <summary>
 /// 快速执行方法
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static object FastInvoke(this MethodInfo method, object instance, params object[] paramters)
 {
     return(DynamicCalls.GetMethodInvoker(method)(instance, paramters));
 }
        /// <summary>
        /// 快速给属性赋值
        /// </summary>
        /// <param name="property"></param>
        /// <param name="instance"></param>
        /// <param name="value"></param>
        public static void FastSetValue(this PropertyInfo property, object instance, object value)
        {
            var setter = DynamicCalls.GetPropertySetter(property);

            setter(instance, value);
        }
 /// <summary>
 /// 快速创建实例
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static object FastCreateInstance(this Type type)
 {
     return(DynamicCalls.GetInstanceCreator(type)());
 }
        /// <summary>
        /// 快速获取属性值
        /// </summary>
        /// <param name="property"></param>
        /// <param name="instance"></param>
        /// <returns></returns>
        public static object FastGetValue(this PropertyInfo property, object instance)
        {
            var getter = DynamicCalls.GetPropertyGetter(property);

            return(getter(instance));
        }