S
sloan
Is anyone else using the Microsoft Practices EnterpriseLibrary conventions
for naming FILES (.cs) as far as a non-generic and generic implementation is
concerned?
Anyone have an alternative?
I brought this up a while back, but with this new thing I just saw, thought
I'd ask again.
See sample below from EnterpriseLibrary
But it goes something like this.
ISomething.cs
ISomething.Generic.cs
IValidator.cs (filename of course)
namespace Microsoft.Practices.EnterpriseLibrary.Validation
{
public interface Validator
{
ValidationResults Validate(object target);
void Validate(object target, ValidationResults validationResults);
}
}
IValidator.Generic.cs (filename of course)
namespace Microsoft.Practices.EnterpriseLibrary.Validation
{
public interface Validator<T> : Validator
{
ValidationResults Validate(T target);
void Validate(T target, ValidationResults validationResults);
}
}
for naming FILES (.cs) as far as a non-generic and generic implementation is
concerned?
Anyone have an alternative?
I brought this up a while back, but with this new thing I just saw, thought
I'd ask again.
See sample below from EnterpriseLibrary
But it goes something like this.
ISomething.cs
ISomething.Generic.cs
IValidator.cs (filename of course)
namespace Microsoft.Practices.EnterpriseLibrary.Validation
{
public interface Validator
{
ValidationResults Validate(object target);
void Validate(object target, ValidationResults validationResults);
}
}
IValidator.Generic.cs (filename of course)
namespace Microsoft.Practices.EnterpriseLibrary.Validation
{
public interface Validator<T> : Validator
{
ValidationResults Validate(T target);
void Validate(T target, ValidationResults validationResults);
}
}