|
using System;
using System.Collections.Generic;
using System.Text;
namespace ESCommon.Rtf
{
/// <summary>
/// Specifies control characters used.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
internal class RtfEnclosingBracesAttribute : Attribute
{
private bool
_braces = true,
_closingSemicolon = false;
/// <summary>
/// Gets or sets a Boolean value indicating whether RtfWriter should enclose a class with braces.
/// </summary>
public bool Braces
{
get { return _braces; }
set { _braces = value; }
}
/// <summary>
/// Gets or sets a Boolean value indicating whether RtfWriter should add a semicolon after reflecting a class.
/// </summary>
public bool ClosingSemicolon
{
get { return _closingSemicolon; }
set { _closingSemicolon = value; }
}
}
}
|
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.
Dmitry lives in Arkhangelsk, Russia. He has developed C# applications since 2007.