As a property, it can't take parameters. From a library standpoint, given that the native property will return whatever was put in, my inclination is to validate the input using a separate method like 'SetValidatedPath(string filePath)'. Then, the correct value would always be set and therefore always correct on return. What do you think?
↧