Skip to main content

IdAttribute

Uniquely identify C# Types and properties with a unique integer in gRPC Services

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field)]
public class IdAttribute : AttributeBase, _Attribute

Properties​

Id​

View Source​
Declaration
public int Id { get; }

Implements​

  • System.Runtime.InteropServices._Attribute