About 25,100,000 results
Open links in new tab
  1. How does the @property decorator work in Python?

    I would like to understand how the built-in function property works. What confuses me is that property can also be used as a decorator, but it only takes arguments when used as a built-in …

  2. OOP Terminology: class, attribute, property, field, data member

    For instance in this article I read this (.. class attribute (or class property, field, or data member) I have seen rather well cut out questions that show that there is a difference between class …

  3. oop - what is a member vs. a property - Stack Overflow

    Jun 16, 2016 · Property is a broad concept used to denote a particular characteristic of a class which, once the class is instantiated, will help define the object's state. The following …

  4. What is the difference between a field and a property?

    Nov 17, 2008 · A property should always encapsulate one or more fields, and should never do any heavy lifting or validation. If you need a property such a UserName or Password to have …

  5. How to ignore a property in class if null, using json.net

    Jun 28, 2011 · To expound slightly on GlennG's very helpful answer (translating the syntax from C# to VB.Net is not always "obvious") you can also decorate individual class properties to …

  6. Spring @Value is not resolving to value from property file

    Nov 27, 2014 · I've had this working in some other project before, I am just re-doing the same thing but for some reason it's not working. The Spring @Value is not reading from property file, …

  7. What does the => operator mean in a property or method?

    In my situation I had my property auto initialize a command in a ViewModel for a View. I changed the property to use expression bodied initializer and the command CanExecute stopped …

  8. When is the @JsonProperty property used and what is it used for?

    1 From JsonProperty javadoc, Defines name of the logical property, i.e. JSON object field name to use for the property. If value is empty String (which is the default), will try to use name of the …

  9. .net - Get value of a specific object property in C# without …

    Jul 9, 2012 · Get value of a specific object property in C# without knowing the class behind Asked 13 years, 5 months ago Modified 4 years, 7 months ago Viewed 213k times

  10. Using @property versus getters and setters [duplicate]

    Using @property for data access in Python is regarded as Pythonic: It can strengthen your self-identification as a Python (not Java) programmer. It can help your job interview if your …