DoNotPrintProperty
using System;
using System.Linq;
namespace Autodesk.DesignScript.Runtime
{
[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
public sealed class DoNotPrintProperty : Attribute
{
private string[] PropertiesToExclude;
public DoNotPrintProperty(string[] propertiesToExclude)
{
PropertiesToExclude = propertiesToExclude;
}
public bool Exclude(string t)
{
if (PropertiesToExclude == null)
return false;
return PropertiesToExclude.Contains(t);
}
}
}