No announcements
Found 2935538 threads
-
1 Votes
How to call the correct generic method when conflictes occurs, and how to find generic method definition.
get the same method info of new generic type from original type's generic definition? Question ...Answered | 2 Replies | 451 Views | Created by Sean.Wood - Sunday, July 12, 2015 8:04 AM | Last reply by Sean.Wood - Monday, July 27, 2015 3:13 PM -
0 Votes
call static method from generic method
In a generic method, I want to call a static method of the class that the method is being implemented ...Answered | 7 Replies | 8338 Views | Created by Steve Richter - Thursday, February 17, 2011 3:49 PM | Last reply by Rudedog2 - Thursday, February 17, 2011 4:41 PM -
0 Votes
Problem to use generic method inside another generic method.
Dennis answer. Best Regards, Daniel Zhang MSDN Community Support Please remember to click "Unanswered | 2 Replies | 536 Views | Created by Hamed_1983 - Monday, June 1, 2020 5:33 PM | Last reply by Daniel_Zhang-MSFT - Tuesday, June 2, 2020 2:05 AM -
0 Votes
How can I call a generic method ?
Please explain what you mean. If you want to get the main of a method in a string an execute it, you need to look up Reflection and read about ...Answered | 2 Replies | 2387 Views | Created by Diogo Pinheiro - Monday, November 23, 2009 1:47 PM | Last reply by Diogo Pinheiro - Monday, November 23, 2009 6:05 PM -
0 Votes
Calling the correct method with Generic Type
of DoSomethingGeneric that takes a datetime, and the method signature that takes the generic type "T". When it's compiling ...Answered | 6 Replies | 2704 Views | Created by Gilbert Cheung - Friday, September 19, 2008 4:34 PM | Last reply by Rudedog2 - Monday, September 22, 2008 12:46 PM -
0 Votes
How to call C# generic method in emitted IL
EnumMethodSpecs method which can help you find the methodSpec token for your generic method. then you can pass the methodSpec to ...Answered | 5 Replies | 8455 Views | Created by Hargen - Wednesday, April 30, 2008 6:10 AM | Last reply by boolean25 - Friday, May 9, 2008 7:19 PM -
0 Votes
How to implement generic method?
Can't you refactor out the code that is common into a method that both overloads call?Richard Blewett, thinktecture - http://www.dotnetconsult.co.uk/weblog2Answered | 9 Replies | 2927 Views | Created by Anatoly Ivanishin - Sunday, February 15, 2009 1:38 PM | Last reply by Anatoly Ivanishin - Monday, February 16, 2009 8:37 AM -
0 Votes
Overload generic method
I want to have some method like Load<T> or Load that is generic and call that method with different parameters(CA or CB or something else). ...Answered | 5 Replies | 5350 Views | Created by lepijohnny - Thursday, March 22, 2012 10:25 AM | Last reply by servy42 - Thursday, March 22, 2012 2:42 PM -
0 Votes
Generic GetHashcode method problem
I'm trying to write a generic method to generate Hashcodes but am having some problems with (genericUnanswered | 0 Replies | 4530 Views | Created by Metaman - Friday, May 19, 2006 4:39 PM | Last reply by Metaman - Friday, May 19, 2006 4:39 PM -
1 Votes
Generic method and overload resolution
prevents making unintended calls to the non-generic method. If I want to call the non-generic method, I just ...Answered | 9 Replies | 3841 Views | Created by Louis.fr - Tuesday, June 22, 2010 4:26 PM | Last reply by Louis.fr - Thursday, June 24, 2010 12:46 AM -
0 Votes
Generic method with generic constraints
method that can be called for any of the collections, and can call the special functionality within it (i.e. Func1 & Func2), but I can't find ...Answered | 2 Replies | 3999 Views | Created by CSharpCammy - Monday, March 26, 2007 7:35 PM | Last reply by CSharpCammy - Monday, March 26, 2007 10:24 PM -
0 Votes
generic method
I would like to return object from the generic method?? this is my ...Answered | 3 Replies | 2978 Views | Created by h_zem - Wednesday, June 6, 2007 5:52 PM | Last reply by h_zem - Saturday, June 9, 2007 2:30 PM -
0 Votes
Generic method, error C2039
If you are trying to create a generic method, use the generic keyword.MSMVP VC++Answered | 1 Replies | 3272 Views | Created by Oscarfh - Saturday, December 27, 2008 4:11 PM | Last reply by Sheng Jiang 蒋晟 - Saturday, December 27, 2008 5:22 PM -
0 Votes
DeleteAllOnSubmit call within generic method
When I bypass this code and call DeleteAllOnSubmit on the table directly the rows that meet the condition are deleted ...Answered | 2 Replies | 2398 Views | Created by travl - Monday, November 17, 2008 10:10 PM | Last reply by travl - Thursday, November 20, 2008 6:56 PM -
1 Votes
How the generic overload method implement?
from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no ...Answered | 2 Replies | 7689 Views | Created by Darren Zeng - Wednesday, June 1, 2011 8:28 AM | Last reply by Min Zhu - Wednesday, June 8, 2011 2:40 AM -
2 Votes
How to call a generic method from F#
I am trying to call this method from F# http://msdn.microsoft.com/en-us/library/ms461135.aspx in C# the genericAnswered | 4 Replies | 3691 Views | Created by MSDN Student - Thursday, August 16, 2012 11:33 AM | Last reply by Lincoln Atkinson - Thursday, August 16, 2012 5:00 PM -
0 Votes
Generic method and the return of a generic type
It sounds like you're wanting to have the base SingASong() method return an instance of T, instead of just default(T), and you're not sure how to ...Answered | 9 Replies | 8926 Views | Created by EricTruter - Wednesday, June 9, 2010 3:53 PM | Last reply by EricTruter - Thursday, June 10, 2010 7:03 AM -
0 Votes
Generic Method
Or you can wrap this process inside another class then exposes a Load method that accepts a string parameter and returns a DataSet then you can just bind every click event ...Answered | 7 Replies | 3016 Views | Created by KabirPatel - Thursday, September 25, 2008 3:23 PM | Last reply by JRQ - Friday, September 26, 2008 3:14 PM -
0 Votes
Making a method generic
x.ProductName)Proposed | 1 Replies | 214 Views | Created by ANi2000 - Friday, June 15, 2018 3:04 PM | Last reply by CoolDadTx - Friday, June 15, 2018 6:21 PM -
0 Votes
How to differentiate non-generic method from ganeric one?
cannot) recognize generic compiling. Does anyone know how to call non-generic method ...Unanswered | 1 Replies | 1190 Views | Created by Cero Hertz - Monday, April 13, 2015 5:31 AM | Last reply by Caillen - Thursday, April 23, 2015 9:16 AM - Items 1 to 20 of 2935538 Next ›
No announcements