servicepoint/crates/servicepoint_binding_cs/ServicePoint/Command.cs

12 lines
271 B
C#
Raw Normal View History

2024-05-13 00:17:40 +02:00
using System.Diagnostics.CodeAnalysis;
namespace ServicePoint;
2024-05-13 00:17:40 +02:00
public sealed partial class Command
2024-05-13 00:17:40 +02:00
{
public static bool TryFromPacket(Packet packet, [MaybeNullWhen(false)] out Command command)
2024-05-13 00:17:40 +02:00
{
return (command = TryFromPacket(packet)) != null;
2024-05-13 00:17:40 +02:00
}
}