Bypassing Optional and Required

May 28, 2011 at 2:48 PM

In your documentation at http://specexpress.codeplex.com/wikipage?title=RequiredOptional&referringTitle=Documentation, there is a section for bypassing optional and required by using a combination of optional with expect. In our code the Expect function is not being executed. Could this be a bug in SpecExpress?

May 28, 2011 at 3:47 PM

Sorry, user error ... after CAREFULLY reading the documentation, I noticed that the check is being applied to the container CLASS itself and NOT the PROPERTY of the class.

Coordinator
May 28, 2011 at 3:49 PM

Glad you got it resolved.

-Alan