mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
GetHierarchy
This commit is contained in:
@ -21,4 +21,11 @@ public class AttributeTemplate : MemberTemplate
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static AttributeTemplate MakeAttributeTemplate(Type type, PropertyInfo pi, byte index = 0, string customName = null, TypeTemplate typeTemplate = null)
|
||||
{
|
||||
var at = new AttributeTemplate(typeTemplate, index, customName, pi.DeclaringType != type);
|
||||
at.PropertyInfo = pi;
|
||||
return at;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user