mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-24 01:08:21 -05:00
18 lines
462 B
C#
18 lines
462 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TriInspector.Elements
|
|
{
|
|
internal class TriInspectorElement : TriPropertyCollectionBaseElement
|
|
{
|
|
public TriInspectorElement(Type targetObjectType, IReadOnlyList<TriProperty> properties)
|
|
{
|
|
DeclareGroups(targetObjectType);
|
|
|
|
foreach (var childProperty in properties)
|
|
{
|
|
AddProperty(childProperty);
|
|
}
|
|
}
|
|
}
|
|
} |