mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-12 22:18:34 +00:00
25 lines
542 B
C#
25 lines
542 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OSCADSharp
|
|
{
|
|
/// <summary>
|
|
/// A statement with just one nested child node
|
|
/// </summary>
|
|
internal abstract class SingleStatementObject : OSCADObject
|
|
{
|
|
protected OSCADObject obj { get; set; }
|
|
|
|
protected SingleStatementObject(OSCADObject obj)
|
|
{
|
|
this.obj = obj;
|
|
|
|
this.m_children.Add(obj);
|
|
obj.Parent = this;
|
|
}
|
|
}
|
|
}
|