mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 19:42:58 +00:00
40 lines
815 B
C#
40 lines
815 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Esiur.Resource
|
|
{
|
|
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class ResourceProperty : System.Attribute
|
|
{
|
|
string readExpansion;
|
|
string writeExpansion;
|
|
|
|
|
|
public string ReadExpansion
|
|
{
|
|
get
|
|
{
|
|
return readExpansion;
|
|
}
|
|
}
|
|
|
|
public string WriteExpansion
|
|
{
|
|
get
|
|
{
|
|
return writeExpansion;
|
|
}
|
|
}
|
|
|
|
public ResourceProperty(string readExpansion = null, string writeExpansion = null)
|
|
{
|
|
this.readExpansion = readExpansion;
|
|
this.writeExpansion = writeExpansion;
|
|
}
|
|
}
|
|
}
|