mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 18:21:20 +00:00
26 lines
No EOL
500 B
C#
26 lines
No EOL
500 B
C#
using System;
|
|
|
|
namespace Cosmos.IL2CPU.API.Attribs {
|
|
public enum Ring {
|
|
Core = 0,
|
|
HAL = 1,
|
|
System = 2,
|
|
User = 3
|
|
}
|
|
|
|
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
|
|
public class RingAttribute : Attribute {
|
|
|
|
private readonly Ring mRing;
|
|
|
|
public RingAttribute(Ring aRing) {
|
|
mRing = aRing;
|
|
}
|
|
|
|
public Ring Ring {
|
|
get {
|
|
return mRing;
|
|
}
|
|
}
|
|
}
|
|
} |