Enterprise Library, Validation: Configuring Validation

  • Thread starter Etienne-Louis Nicolet
  • Start date
E

Etienne-Louis Nicolet

Enterprise Library 4.1, Validation Application Block

I try to add a validation configuration using the configuration editor
(EntLibConfig.exe) in order to set the validation for some of my classes.

As I understand, any class that inherits from System.Object can be used as
type for validation. When I try to add one of my classes as type to the
Validation Application Block, I can not find it in the Type Selector window.

I had to realize that there's one difference in the Class View window
between a C#- and a VB-project. In C# virtually any class finally inherits
from System.Object, but not in VB. There I can not expand my tree down to
System.Object. The methods and properties listed in the window below however
indicate that my classes in fact do inherit from System.Object. Is there a
reason for this difference?

What do I have to do that I can add my own classes to the Application
Validation Block using configuration editor in a VB-project?

Many thanks for your help,
Etienne
 
E

Etienne-Louis Nicolet

Sorry, recompiling the project solved my problem. I don't know why but...

Regards,
Etienne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top