예제 #1
0
 /// <summary>
 /// Initializes an instance of the <see cref="UnknownEmbeddingCurrentStateType"/> class.
 /// </summary>
 /// <param name="type">The current state type that is not known.</param>
 public UnknownEmbeddingCurrentStateType(EmbeddingCurrentStateType type)
     : base($"{nameof(EmbeddingCurrentStateType)} {type} is not known")
 {
 }
 /// <summary>
 /// Convert to a protobuf representation of <see cref="EmbeddingCurrentStateType"/>.
 /// </summary>
 /// <param name="type"><see cref="EmbeddingCurrentStateType"/> to convert.</param>
 /// <returns>Converted <see cref="ContractsProjectionCurrentStateType"/>.</returns>
 public static ContractsProjectionCurrentStateType ToProtobuf(this EmbeddingCurrentStateType type)
 => type switch
 {