About 25,500,000 results
Open links in new tab
  1. Angular - How to fix 'property does not exist on type' error?

    Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges,

  2. How to exclude property from Json Serialization - Stack Overflow

    I have a DTO class which I Serialize Json.Serialize(MyClass) How can I exclude a public property of it? (It has to be public, as I use it in my code somewhere else)

  3. How to implement a property in an interface - Stack Overflow

    In the interface, there is no code. You just specify that there is a property with a getter and a setter, whatever they will do. In the class, you actually implement them. The shortest way to do this is using …

  4. .net - Get value of a specific object property in C# without knowing ...

    Jul 9, 2012 · In my case I had a serialized JSON value and was attempting to De-Serialize it as an object and then use reflection to read the object property values. The results were always null for …

  5. 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 property and …

  6. How can you test if an object has a specific property?

    You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I get it? …

  7. CMake: Is there a difference between set_property(TARGET ...) and set ...

    Nov 21, 2017 · The difference is that with set_property, you get to define the scope. You actually have more options with the set_property other than just specifying a target, such as specifying source files …

  8. Using PropertyInfo to find out the property type - Stack Overflow

    Sep 16, 2010 · Using PropertyInfo to find out the property type Asked 15 years, 2 months ago Modified 5 years ago Viewed 203k times

  9. How to mock a readonly property with mock? - Stack Overflow

    21 If the object whose property you want to override is a mock object, you don't have to use patch. Instead, can create a PropertyMock and then override the property on the type of the mock. For …

  10. LINQ's Distinct() on a particular property - Stack Overflow

    Jan 29, 2009 · Overriding Equals like this is not a good idea as it could have unintended consequences for other programmers expecting the Person's Equality to be determined on more than a single …