//
// IStringConverterRepository.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Remora.Results;
namespace NosSmooth.PacketSerializer.Abstractions;
///
/// Repository for .
///
public interface IStringConverterRepository
{
///
/// Gets the type converter for the given type.
///
/// The type to find converter for.
/// The type converter or an error.
public Result GetTypeConverter(Type type);
///
/// Gets the type converter for the given type.
///
/// The type to find converter for.
/// The type converter or an error.
public Result> GetTypeConverter();
}