Class SystemServiceAttribute
Attribute that marks a class as a system service usable in the in-game operating system. In order for the class to function as a system service, it must inherit the SystemService class.
Inherited Members
Namespace: SociallyDistant.Core.OS.Devices
Assembly: SociallyDistant.Framework.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SystemServiceAttribute : Attribute
Constructors
SystemServiceAttribute(string)
Creates a new instance of the SystemServiceAttribute class.
Declaration
public SystemServiceAttribute(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The ID of the service. |
Properties
Id
Gets the ID of the system service.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |