2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-09-13 20:43:19 +00:00

Custom names

This commit is contained in:
2021-11-28 05:28:43 +03:00
parent a25e5a71f2
commit 1166e93ba9
11 changed files with 57 additions and 42 deletions

View File

@@ -33,10 +33,10 @@ namespace Esiur.Resource
[AttributeUsage(AttributeTargets.Property)]
public class AttributeAttribute : System.Attribute
{
public AttributeAttribute()
public string Name { get; set; }
public AttributeAttribute(string name = null)
{
this.Name = name;
}
}
}