No announcements
Found 3564984 threads
-
0 Votes
Invoke properties class and pass it to method using Reflection
The param object is the one which contains the method parameters.Answered | 6 Replies | 1851 Views | Created by Roopesh Kumar - Wednesday, May 16, 2012 8:09 PM | Last reply by Roopesh Kumar - Wednesday, May 16, 2012 9:33 PM -
0 Votes
passing parameters to callback method
Typically, if you're using Task<T>, you wouldn't use callback methods.Answered | 1 Replies | 3375 Views | Created by shlomihassan - Tuesday, August 7, 2012 9:53 PM | Last reply by Reed Copsey, Jr - Wednesday, August 8, 2012 5:12 PM -
0 Votes
using reflection to call WCF Service Method with reference parameter
I have an issue when use reflections to call a WCF service method with reference parameter.Answered | 1 Replies | 11190 Views | Created by DOTFrustrator - Thursday, March 26, 2009 5:02 AM | Last reply by ashawani_dubey - Wednesday, April 1, 2009 11:02 AM -
0 Votes
Retrieving mehod parameter values using Reflection
Use the .GetParameters() of the MethodInfo() on reflection.Answered | 8 Replies | 9147 Views | Created by Indigo Cowboy - Wednesday, February 22, 2006 8:26 AM | Last reply by giovhan - Thursday, February 12, 2009 6:03 AM -
1 Votes
Passing parameters to a method
So you could just have a single method that takes an IList, and call it by passing in the Combobox.Items property or ListBox.Items property etc.Answered | 4 Replies | 583 Views | Created by Swildons - Thursday, November 10, 2016 10:26 AM | Last reply by Swildons - Friday, November 11, 2016 10:59 AM -
0 Votes
Pass a method as parameter, with diferent input parameters
and then as parameter, you need to pass That unknown type again to the delegate...., also you need to provide an object from that ...Answered | 6 Replies | 2027 Views | Created by deadManN - Friday, December 30, 2011 10:39 AM | Last reply by deadManN - Friday, January 6, 2012 8:06 AM -
0 Votes
Navigation Parameter pass other method
Hello Aurelien Mota, you can send & retrie parameter by this type : send & retrieve parameter : //pass ...Answered | 2 Replies | 907 Views | Created by Aurelien Mota - Sunday, November 17, 2013 4:17 PM | Last reply by Khant Nipun - Monday, November 18, 2013 4:37 AM -
1 Votes
passing control as parameter to a method in c#
Something like: public static void method(Control c, string s) { if (c is TextBox) { (c as TextBox).Text = s; // ...Answered | 1 Replies | 13951 Views | Created by erovaruis - Wednesday, October 9, 2013 9:46 PM | Last reply by TSoftware-Old - Thursday, October 10, 2013 12:54 AM -
0 Votes
Passing a class method as a parameter of another class's method
It has no parameters.Answered | 6 Replies | 2511 Views | Created by HeMingWay11 - Friday, August 17, 2012 12:08 AM | Last reply by Armin Zingler - Tuesday, August 28, 2012 1:39 PM -
5 Votes
Parameters use in init methods
If form parameters are filter parameters, you better use views with nodata, then set view parameters in form init and requery.Answered | 3 Replies | 2743 Views | Created by damezumari - Wednesday, July 11, 2012 10:34 PM | Last reply by Olaf Doschke - Friday, July 13, 2012 3:19 PM -
2 Votes
Impact on the performance when passing parameters to a method
When you have a group of parameters that are commonly passed together to a number of methods (not just one), then you should replace them with an object.Answered | 5 Replies | 5650 Views | Created by Clement Edwin - Friday, February 26, 2010 9:50 AM | Last reply by Stephen Cleary - Friday, February 26, 2010 1:40 PM -
0 Votes
How to pass parameter to InsertAsync method?
Extra parameters (of simple types) in the Post method can be passed via the query string.Answered | 2 Replies | 1435 Views | Created by Fatih Dumanlı - Thursday, September 11, 2014 4:07 AM | Last reply by Fatih Dumanlı - Friday, September 12, 2014 12:30 AM -
1 Votes
Pass generic in method parameter?
I did move the type parameter from the method Calculate to the interface IFitness, which is usually (but not always) a better match to requirements.Answered | 3 Replies | 1009 Views | Created by wapt49 - Sunday, December 9, 2012 2:30 PM | Last reply by Pieter Geerkens - Sunday, December 9, 2012 3:17 PM -
9 Votes
Passing unknown number of parameters
I would use a method with a List<T> as parameter.Answered | 10 Replies | 2281 Views | Created by Pasupathi - Tuesday, September 11, 2012 7:06 AM | Last reply by Roar Jørstad - Wednesday, September 12, 2012 5:55 PM -
4 Votes
How to execute test methods programmatically using C# (may be using reflection)?
Here is the complete code that i am using for executing the test method (in unit test project) through reflection.Answered | 13 Replies | 12874 Views | Created by Pratap15 - Wednesday, November 1, 2017 2:44 AM | Last reply by SuhasK1 - Friday, July 5, 2019 1:04 AM -
1 Votes
Passing parameters to a Method
check(textBox1, out num1 )) return; //num4 = (decimal)14.1258 / (decimal)7.4; num3 = num1 % 2; if (num3 == 0) { textBox3.Text = "The ...Answered | 4 Replies | 2335 Views | Created by T.Gahan - Thursday, June 10, 2010 1:12 PM | Last reply by T.Gahan - Friday, June 11, 2010 9:46 AM -
3 Votes
Method string parameters - Trim
Unfortunately, I don't know how workable that would be, since I have many methods taking string parameters, and I can't change their signatures.Answered | 12 Replies | 3447 Views | Created by Dr Griff - Wednesday, October 20, 2010 3:57 PM | Last reply by Dr Griff - Thursday, November 4, 2010 9:09 AM -
0 Votes
Passing parameters to _PreProcessQuery
You don't have to explicitely pass any parameters to the _PreProcessQuery Method per se.Answered | 2 Replies | 3651 Views | Created by Craigton - Friday, October 29, 2010 1:24 PM | Last reply by Craigton - Saturday, October 30, 2010 10:54 AM -
1 Votes
Reflection and methods inside a dll class
You're seeing these, as well, since your class (implicitly) defines these methods (since it inherits from Object).Answered | 2 Replies | 2484 Views | Created by RobbKirk - Wednesday, July 29, 2009 5:34 PM | Last reply by RobbKirk - Wednesday, July 29, 2009 5:40 PM -
1 Votes
LINQ: Can I pass a var as a parameter to a method?
So just create a method that calls apon itself (recursive) passing the object to scan.Answered | 9 Replies | 14156 Views | Created by Jamie Thomson - Tuesday, July 22, 2008 9:48 PM | Last reply by Jamie Thomson - Wednesday, July 23, 2008 10:12 PM - Items 1 to 20 of 3564984 Next ›
No announcements