Value types and abstractions for RocketWelder SDK. Contains lightweight identifiers (SessionStreamId, VideoRecordingIdentifier) with no heavy dependencies. Suitable for browser-wasm and other constrained environments.
$ dotnet add package RocketWelder.SDK.TypesValue types and abstractions for the RocketWelder SDK ecosystem.
This package contains lightweight, dependency-minimal types that are shared across:
RocketWelder.SDK - Full SDK with video streaming capabilitiesRocketWelder.SDK.Blazor - Blazor components for renderingModelingEvolution.RocketWelder.Contracts - Event/command contractsStrongly-typed identifier for streaming sessions.
// Create new
var id = SessionStreamId.New();
// From existing Guid
var id = SessionStreamId.From(existingGuid);
// Parse from string (format: ps-{guid})
var id = SessionStreamId.Parse("ps-a1b2c3d4-e5f6-7890-abcd-ef1234567890");
// Implicit conversion to Guid
Guid guid = id;
// Implicit conversion to string
string s = id; // "ps-a1b2c3d4-..."
Strongly-typed identifier for video recordings.
// Create new
var id = VideoRecordingIdentifier.New();
// From existing Guid
var id = VideoRecordingIdentifier.From(existingGuid);
// Parse from string (format: rec-{guid})
var id = VideoRecordingIdentifier.Parse("rec-a1b2c3d4-e5f6-7890-abcd-ef1234567890");
ModelingEvolution.JsonParsableConverter for JSON serializationreadonly record structMIT