mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 00:08:51 -05:00
23 lines
676 B
C#
23 lines
676 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
using TriInspector.Elements;
|
|
|
|
namespace TriInspector
|
|
{
|
|
public abstract class TriGroupDrawer
|
|
{
|
|
public abstract TriPropertyCollectionBaseElement CreateElementInternal(Attribute attribute);
|
|
}
|
|
|
|
public abstract class TriGroupDrawer<TAttribute> : TriGroupDrawer
|
|
where TAttribute : Attribute
|
|
{
|
|
public sealed override TriPropertyCollectionBaseElement CreateElementInternal(Attribute attribute)
|
|
{
|
|
return CreateElement((TAttribute) attribute);
|
|
}
|
|
|
|
[PublicAPI]
|
|
public abstract TriPropertyCollectionBaseElement CreateElement(TAttribute attribute);
|
|
}
|
|
} |