コード例 #1
0
 /// <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
 {
コード例 #2
0
ファイル: Log.cs プロジェクト: dolittle/Runtime
 internal static partial void SendingGetOneResult(ILogger logger, string key, Uuid projection, Uuid scope, ProjectionCurrentStateType type);
コード例 #3
0
 /// <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")
 {
 }