using Foundation; namespace Cauldron.Macos.SourceWriter { public class LanguageClosure : NSObject { #region Computed Properties /// Gets or sets the starting character for this closure. /// The starting character. public char StartingCharacter { get; set; } /// Gets or sets the ending character for this closure. /// The ending character. public char EndingCharacter { get; set; } #endregion #region Constructors /// /// Initializes a new instance of the class. /// public LanguageClosure() { } /// /// Initializes a new instance of the class. /// /// The character that both starts and ends this closure. public LanguageClosure(char character) { this.StartingCharacter = character; this.EndingCharacter = character; } /// /// Initializes a new instance of the class. /// /// The character that starts the closure. /// The character that ends the closure. public LanguageClosure(char startingCharacter, char endingCharacter) { this.StartingCharacter = startingCharacter; this.EndingCharacter = endingCharacter; } #endregion } }