Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 6bd859c

Browse files
committed
Make UrnKey public
1 parent e5ed50f commit 6bd859c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/ServiceStack.Text.dll

0 Bytes
Binary file not shown.

src/ServiceStack.Redis/RedisClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ public RedisClient CloneClient()
785785
/// </summary>
786786
/// <param name="value"></param>
787787
/// <returns></returns>
788-
internal string UrnKey<T>(T value)
788+
public string UrnKey<T>(T value)
789789
{
790790
return String.Concat(NamespacePrefix, value.CreateUrn());
791791
}
@@ -795,7 +795,7 @@ internal string UrnKey<T>(T value)
795795
/// </summary>
796796
/// <param name="id"></param>
797797
/// <returns></returns>
798-
internal string UrnKey<T>(object id)
798+
public string UrnKey<T>(object id)
799799
{
800800
return String.Concat(NamespacePrefix, IdUtils.CreateUrn<T>(id));
801801
}
@@ -806,7 +806,7 @@ internal string UrnKey<T>(object id)
806806
/// <param name="type"></param>
807807
/// <param name="id"></param>
808808
/// <returns></returns>
809-
internal string UrnKey(Type type, object id)
809+
public string UrnKey(Type type, object id)
810810
{
811811
return String.Concat(NamespacePrefix, IdUtils.CreateUrn(type, id));
812812
}

0 commit comments

Comments
 (0)