extension-methods
Action delay extension method not working
I\'m trying to create a handy extension method to Action to basically run that action after a delay: So far my extension looks like this[详细]
2023-04-13 09:44 分类:问答Generic generic extension method (sic!)
Is it 开发者_C百科possible to add an extension method to a generic class that is independent of that class\' instance generic type?[详细]
2023-04-13 08:33 分类:问答how to use count on a groupby using extension methods?
I need to use get count(*) like sql server on linq, how can I use extenstion methods to do that ? here is what I am trying to do[详细]
2023-04-12 04:37 分类:问答Extension method that works on IEnumerable<T> and IQueryable<T>?
I want an extension method that works on both my List and IQueryable.The extension methods below accomplish this, but then if I add another identical extension method, but on a different totally unrel[详细]
2023-04-12 03:55 分类:问答Serializing Linq2sql model selectively to JSON
I have quite common linq2sql bussiness model from mssql database. There are some associations between tables, which is good. Whole model is in separate assembly. I am using JSON.NET library for serial[详细]
2023-04-11 17:56 分类:问答Lync SDK - Making a plugin for Lync - Conversation Window Extension
I was reading the MSDN documentation about Conversation Window Extensions and all of the examples that I found require working with IIS. Is there some way to create a CWE without using IIS?[详细]
2023-04-08 14:07 分类:问答How to get Url.Action inside extension method
I\'m using MVC3 (VB) with the Razor view engine, and I\'m using the Chart helper to create a number of charts. I\'ve got this code working:[详细]
2023-04-08 12:39 分类:问答C# Extension method precedence
I\'m a bit confused about how extension methods work. If I\'m reading this correctly http://msdn.microsoft.com/en-us/library/bb383977.aspx and this If an extension method has the same signature as a[详细]
2023-04-07 00:43 分类:问答Add an attribute to an existing C# class without losing existing extension methods?
I ha开发者_StackOverflow中文版ve an existing partial class that has extension methods applied to it, in one project.[详细]
2023-04-06 16:14 分类:问答How to create an extension method with the same signature but different generic type?
I have the following extension methods: public static class QueryableOptionalDateRangeExtensions { public static IQueryable<T> StartsFrom<T>(this IQueryable<T> query, DateTime date)[详细]
2023-04-05 15:06 分类:问答