Renamed Umbraco.Abstractions to Umbraco.Core
This commit is contained in:
16
src/Umbraco.Core/Services/IIdKeyMap.cs
Normal file
16
src/Umbraco.Core/Services/IIdKeyMap.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
namespace Umbraco.Core.Services
|
||||
{
|
||||
public interface IIdKeyMap
|
||||
{
|
||||
Attempt<int> GetIdForKey(Guid key, UmbracoObjectTypes umbracoObjectType);
|
||||
Attempt<int> GetIdForUdi(Udi udi);
|
||||
Attempt<Udi> GetUdiForId(int id, UmbracoObjectTypes umbracoObjectType);
|
||||
Attempt<Guid> GetKeyForId(int id, UmbracoObjectTypes umbracoObjectType);
|
||||
void ClearCache();
|
||||
void ClearCache(int id);
|
||||
void ClearCache(Guid key);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user