public void Prefix(IWampClient client, string prefix, string uri) { IWampCurieMapper mapper = client as IWampCurieMapper; mapper.Map(prefix, uri); }
private static string ResolveUri(IWampClient client, string topicUri) { IWampCurieMapper mapper = client as IWampCurieMapper; return(mapper.Resolve(topicUri)); }