public static ResourceSet MakeRelativeTo(this ResourceSet set, Uri source) { var sansHost = set.ToString().Replace(source.ToString(), ""); var sansResourceSetsPath = sansHost.Replace(ResourceSyncDocument.UriPartNames.ResourceSets + "/", ""); return(sansResourceSetsPath); }
public static Uri ToPutUri(this ResourceSet set, ResourceName name) { return(ToPutUri(set.ToString(), name.ToString())); }
public static ResourceSyncDocument.RequestDescriptor ToSyncRequest(this ResourceSet set) { return(set.ToString().ToSyncRequest()); }
public static Uri ToPutUri(this ResourceSet set) { return(ToPutUri(set.ToString())); }