Solution: Custom properties
- [Instructor] The goal for this challenge was to add some named properties to this test method attribute, and the way you do that in .NET in an attribute is by creating public properties, so I've created the int property called timeout and the bool property called skip test. Once I have those properties, then I can use them with this attribute syntax here. So if you see when I ran the unit test by clicking on Test My Code, I got back that the update value method does have the test attribute applied and it read the timeout value of 32 and the skip value is equal to true. So if I change this value to another value, and let's set this to false, and rerun the unit tests, we should see the outputs change over here. These are optional parameters, which means that we don't have to use both of them. Here you can see I just used one of them. And on the last example on line 33, I'm not using any of the parameters.