|
// Copyright (c) 2010-2012 Xomega.Net. All rights reserved.
using System.Collections;
namespace Xomega.Framework
{
/// <summary>
/// An interface for objects that support validation.
/// </summary>
public interface IValidatable
{
/// <summary>
/// Validates the data object and all its properties and child objects recursively.
/// </summary>
/// <param name="force">True to validate regardless of
/// whether or not it has been already validated.</param>
void Validate(bool force);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Xomega Team is striving to increase productivity and development quality by utilizing Model Driven Development coupled with Code Generation and the best design practices for application development.
We provide MDD tools, code generators and frameworks for Visual Studio and .Net development.
Visit us at
http://www.xomega.net