2023-12-15 00:08:02 +08:00
|
|
|
using System;
|
|
|
|
|
2023-08-12 01:43:24 +08:00
|
|
|
namespace BITKit
|
|
|
|
{
|
|
|
|
public interface IAddressable
|
|
|
|
{
|
|
|
|
string AddressablePath { get; }
|
2023-12-15 00:08:02 +08:00
|
|
|
|
|
|
|
ulong AddressableId
|
|
|
|
{
|
|
|
|
get => ulong.MinValue;
|
|
|
|
set
|
|
|
|
{
|
|
|
|
if (value <= 0) throw new ArgumentOutOfRangeException(nameof(value));
|
|
|
|
}
|
|
|
|
}
|
2023-08-12 01:43:24 +08:00
|
|
|
}
|
|
|
|
}
|