Add constructor for CodeClassElement with parameter for class name

This commit is contained in:
Michael Becker 2016-06-06 20:44:57 -04:00
parent 459392925b
commit 0bd2162924

View File

@ -7,6 +7,12 @@ namespace UniversalEditor.ObjectModels.SourceCode.CodeElements
{
public class CodeClassElement : CodeElementContainerElement, INamedCodeElement, IAccessModifiableCodeElement
{
public CodeClassElement() {
}
public CodeClassElement(string name) {
mvarName = name;
}
private string mvarName = String.Empty;
public string Name { get { return mvarName; } set { mvarName = value; } }