|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.CodeDom
{
public class CodeRegionDirective : CodeDirective
{
private string _regionText;
public CodeRegionDirective() { }
public CodeRegionDirective(CodeRegionMode regionMode, string regionText)
{
RegionText = regionText;
RegionMode = regionMode;
}
public string RegionText
{
get => _regionText ?? string.Empty;
set => _regionText = value;
}
public CodeRegionMode RegionMode { get; set; }
}
}
|