This commit is contained in:
Nitload
2025-08-25 09:50:30 +08:00
parent bd0e31e922
commit 1359ff4ecc
1630 changed files with 738486 additions and 2399 deletions
@@ -28,35 +28,29 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using Microsoft.CodeAnalysis.CSharp.Syntax;
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
using System;
using System.Collections.Generic;
namespace StgSharp.Model.Step
namespace StgSharp.Modeling.Items
{
public class StepRepresentationItem : StepEntityBase, IExpConvertableFrom<StepRepresentationItem>
public abstract partial class StepRepresentationItem
{
protected StepRepresentationItem( StepModel model )
protected StepRepresentationItem( string name )
{
Context = model;
Name = name;
}
public override StepItemType ItemType => StepItemType.PresentationItem;
public abstract StepItemType ItemType { get; }
public void FromInstance( StepRepresentationItem entity )
{
base.FromInstance( entity );
}
public string Name { get; set; }
public virtual bool IsConvertableTo( string entityName )
internal virtual IEnumerable<StepRepresentationItem> GetReferencedItems()
{
return entityName == "StepRepresentationItem";
yield break;
}
}