using System;
namespace BCG.Utilities.General
{
///
/// Properties or public fields of a type can be mapped by this attribute, governing
/// their visiblity in the schema that can be constructed out of the object
///
public class SchemaVisibility : Attribute
{
private bool myVisible = true;
///
/// Tagging visbible as true, results in the property/field to
/// map to itself in the schema. This has the same result as
/// not tagging a field/property
///
///
public SchemaVisibility (bool visible)
{
myVisible = visible;
}
public bool visible{get{return myVisible;}}
}
}