No announcements
Found 2714980 threads
-
5 Votes
Are javascript getter / setter supported with WinJS?
So you are correct that for object literals you can specify a getter and a setter using the syntax you gave.Answered | 4 Replies | 5406 Views | Created by Instriker - Wednesday, June 6, 2012 4:26 PM | Last reply by Jeff Fisher [MSFT] - Wednesday, June 6, 2012 9:10 PM -
0 Votes
getters and setters array?
i need to make an array of getter and setters... are there better ways of doing this?Answered | 1 Replies | 4834 Views | Created by ferdna - Monday, August 25, 2008 7:36 PM | Last reply by Marc Gravell - Monday, August 25, 2008 7:42 PM -
0 Votes
StoreGeneratedPattern = Identity and Getter/Setter
Hi, if you are using the VS Entity Model Designer, you can set the visbility of property getter/setters manually and these settings will be retained over model ...Answered | 4 Replies | 12603 Views | Created by Simon Lampen - Friday, October 17, 2008 5:13 AM | Last reply by sarahmcd - Wednesday, September 28, 2011 11:08 PM -
0 Votes
JavaScript - Getter/Setter in Objects's Prototype is not working.
A difference with this pattern is that the function is loaded into memory each time you create a new object whereas with prototype its loaded only once ...Answered | 4 Replies | 2494 Views | Created by kumar_abhi88 - Thursday, January 24, 2013 3:49 PM | Last reply by Tech Guy 8008 - Saturday, January 26, 2013 9:17 PM -
0 Votes
Missing invariant check in getter?
A property getter is always implicitly [Pure] because normally you should not modify class state in the getter.Answered | 1 Replies | 3953 Views | Created by NefX1 - Wednesday, June 8, 2011 5:52 PM | Last reply by Alexey R. _ - Wednesday, June 8, 2011 7:12 PM -
0 Votes
Infinte loop or inifinite recursion in Getter Setter property
Check if this algorithm is suitable: … private string mFileName = null; private string ...Answered | 7 Replies | 1283 Views | Created by stuladhar - Tuesday, August 25, 2015 5:19 PM | Last reply by Christopher84 - Wednesday, August 26, 2015 8:50 AM -
1 Votes
Getters Setters - Difference between .Net 2.0 and 3.5
the getter and setter in .NET 3.5 create hidden variables internally.Answered | 1 Replies | 7071 Views | Created by Bhakti Abhyankar - Tuesday, March 22, 2011 5:06 AM | Last reply by Ziaullah Khan - Tuesday, March 22, 2011 8:58 AM -
0 Votes
Sourcemap generated by uglifyjs with a getter is not handled by Visual Studio.
var index = function index() { }; index.prototype = { get getter() { return ...Answered | 1 Replies | 810 Views | Created by Webrant - Monday, November 2, 2015 11:46 AM | Last reply by Jack Zhai-MSFT - Tuesday, November 3, 2015 6:34 AM -
3 Votes
Getters and Setters have I got the wrong end of the stick?
nobugz said: There is no difference, not the way you wrote the explicit getter and setter anyway.Answered | 12 Replies | 5484 Views | Created by OnamC - Wednesday, February 25, 2009 10:57 AM | Last reply by JohnGrove - Thursday, February 26, 2009 1:44 AM -
1 Votes
a simple getter function for a constant
If you don't want to set up a separate Property procedure for each constant, you could use a Function that receives the name of the desired constant and uses a SELECT CASE procedure (or other lookup ...Answered | 4 Replies | 1305 Views | Created by mpeters.de - Friday, October 18, 2013 3:33 PM | Last reply by PatrickWood - Friday, October 18, 2013 5:30 PM -
0 Votes
Getter and setter
User1231667415 posted Check the ...Answered | 13 Replies | 267 Views | Created by Anonymous - Friday, January 20, 2012 4:57 AM | Last reply by Anonymous - Friday, January 27, 2012 10:33 AM -
0 Votes
Getter and Setter application
User521171331 posted Hi Nan Yu, I use this code in my student class without static and it also works.Answered | 7 Replies | 153 Views | Created by Anonymous - Thursday, July 16, 2015 4:36 AM | Last reply by Anonymous - Wednesday, July 22, 2015 3:07 AM -
5 Votes
Web Method that returns an object with properties that access the database.
The problem is when we implemented the new technique, the last line of code in each web service call (before returning the object) closes the database connection.Answered | 3 Replies | 662 Views | Created by quizjax - Thursday, March 31, 2016 7:40 PM | Last reply by DA924x - Friday, April 1, 2016 1:38 AM -
3 Votes
strange behavior in C# getter of a field; compiler optimization wrong?
Add a GetEnumerator() method returning 'this' and you can use foreach.Answered | 10 Replies | 3008 Views | Created by m0rdred13 - Monday, January 4, 2010 8:38 AM | Last reply by m0rdred13 - Tuesday, January 5, 2010 6:57 PM -
0 Votes
Can you bind to a property who's getter is the method?
It looks like you’re implementing INotifyPropertyChanged for notifying property change for binding which should work fine as you see.Answered | 5 Replies | 4597 Views | Created by XavierP - Saturday, March 13, 2010 6:20 AM | Last reply by William Han - MSFT - Saturday, March 13, 2010 6:11 PM -
0 Votes
Binding vs getters and setters
If you use getter setter , then it becomes tought to follow the MVVM approach, binding allows to seprate the UI(design) from the data and logic .Answered | 1 Replies | 2018 Views | Created by DiamondDrake - Friday, February 4, 2011 3:52 PM | Last reply by vikas amin - Friday, February 4, 2011 7:13 PM -
0 Votes
Session Variables with HttpContext.Current.Session getters and setters
object GetSessionValue(HttpContext c, String key) { return ...Answered | 3 Replies | 121 Views | Created by Anonymous - Thursday, January 24, 2013 6:43 PM | Last reply by Anonymous - Thursday, January 24, 2013 7:30 PM -
1 Votes
not mapped field getter, setter
actually i fixed the problem by using a converter public class PassConverter : IValueConverter { public object Convert(object value, Type ...Answered | 5 Replies | 759 Views | Created by issam1975 - Wednesday, October 26, 2016 9:13 AM | Last reply by issam1975 - Sunday, October 30, 2016 2:29 AM -
0 Votes
generate getters setters
User-1902622510 posted You probably want properties instead of 'getters and setters'.Unanswered | 2 Replies | 337 Views | Created by Anonymous - Wednesday, November 30, 2005 11:03 AM | Last reply by Anonymous - Wednesday, November 30, 2005 4:20 PM -
1 Votes
Getters and setters?
I work on legacy code that defines properties but uses the field and the property pretty much arbitrarily, so any time I am trying to figure out where the field is getting ...Answered | 3 Replies | 6776 Views | Created by Adrien_ - Friday, April 29, 2011 1:59 AM | Last reply by Nabil Shaik - Friday, April 29, 2011 5:14 PM - Items 1 to 20 of 2714980 Next ›
No announcements