Merging changes
This commit is contained in:
1 parent
c4216d2272
commit
797816be7e
437 files changed
+54228
-28
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
|
||||
namespace BCG.Utilities.General
|
||||
{
|
||||
/// <summary>
|
||||
/// 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
|
||||
/// </summary>
|
||||
public class SchemaVisibility : Attribute
|
||||
{
|
||||
private bool myVisible = true;
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
/// </summary>
|
||||
/// <param name="visible"></param>
|
||||
public SchemaVisibility (bool visible)
|
||||
{
|
||||
myVisible = visible;
|
||||
}
|
||||
|
||||
public bool visible{get{return myVisible;}}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user