Lines Matching refs:Func
83 internal static Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method) =>
94 internal static Func<IMessage, int> CreateFuncIMessageInt32(MethodInfo method) =>
115 internal static Func<IMessage, bool> CreateFuncIMessageBool(MethodInfo method) =>
118 internal static Func<IMessage, bool> CreateIsInitializedCaller(Type msg) =>
141 Func<IMessage, int> CreateFuncIMessageInt32(MethodInfo method);
143 Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method);
145 Func<IMessage, bool> CreateFuncIMessageBool(MethodInfo method);
158 Func<IMessage, bool> CreateIsInitializedCaller();
164 public Func<IMessage, int> CreateFuncIMessageInt32(MethodInfo method)
166 // On pleasant runtimes, we can create a Func<int> from a method returning
170 var del = (Func<T1, int>) method.CreateDelegate(typeof(Func<T1, int>));
178 var del = (Func<T1, T2>) method.CreateDelegate(typeof(Func<T1, T2>));
189 public Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method)
191 var del = (Func<T1, T2>) method.CreateDelegate(typeof(Func<T1, T2>));
201 public Func<IMessage, bool> CreateFuncIMessageBool(MethodInfo method)
203 var del = (Func<T1, bool>)method.CreateDelegate(typeof(Func<T1, bool>));
313 public Func<IMessage, bool> CreateIsInitializedCaller()
317 var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetGetMethod(true).CreateDelegate(typeof(Func<T1, ExtensionSet<T1>>));
319 var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetMethod.CreateDelegate(typeof(Func<T1, ExtensionSet<T1>>));
321 var initializedFunc = (Func<ExtensionSet<T1>, bool>)
325 .CreateDelegate(typeof(Func<ExtensionSet<T1>, bool>));
346 method.CreateDelegate(typeof(Func<int>));