/// <summary> /// Convert to a protobuf representation of <see cref="ProjectionCurrentStateType"/>. /// </summary> /// <param name="type"><see cref="ProjectionCurrentStateType"/> to convert.</param> /// <returns>Converted <see cref="ContractsProjectionCurrentStateType"/>.</returns> public static ContractsProjectionCurrentStateType ToProtobuf(this ProjectionCurrentStateType type) => type switch {
internal static partial void SendingGetOneResult(ILogger logger, string key, Uuid projection, Uuid scope, ProjectionCurrentStateType type);
/// <summary> /// Initializes an instance of the <see cref="UnknownProjectionCurrentStateType"/> class. /// </summary> /// <param name="type">The current state type that is not known.</param> public UnknownProjectionCurrentStateType(ProjectionCurrentStateType type) : base($"ProjectionCurrentStateType {type} does not have a known protobuf representation") { }