using System.Diagnostics.CodeAnalysis;
using Speckle.Sdk.Models;
using Speckle.Sdk.Serialisation;
namespace Speckle.Connectors.Common.Caching;
///
/// A null send conversion cache for future use in connectors that cannot support . It does nothing!
///
public class NullSendConversionCache : ISendConversionCache
{
public void StoreSendResult(string projectId, IReadOnlyDictionary convertedReferences) { }
public void EvictObjects(IEnumerable objectIds) { }
public void ClearCache() { }
public bool TryGetValue(
string projectId,
string applicationId,
[NotNullWhen(true)] out ObjectReference? objectReference
)
{
objectReference = null;
return false;
}
}