This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace _; | |
| public class Parameter<T> //: IParameter - unnecesary | |
| { | |
| private string? stringValue; | |
| private T value; | |
| public bool IsValid { get; private set; } | |
| public static bool TryParse(string value, out Parameter<T> result) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Text.Json; | |
| using Microsoft.Azure.Cosmos; | |
| namespace Common.Helpers; | |
| public sealed class SystemTextJsonCosmosSerializer : CosmosSerializer | |
| { | |
| private readonly JsonSerializerOptions options; | |
| public SystemTextJsonCosmosSerializer(JsonSerializerOptions options) | |
| { |