Beispiel #1
0
 public void FillPlaceHolder(string key, string value)
 {
     Code = Code.CopyWithPath(Code.Path.Replace("{" + key + "}", value));
     Attributes?.FillPlaceHolder(key, value);
 }
Beispiel #2
0
 /// <summary>
 /// Returns a new assetlocation with an equal domain and the given path
 /// </summary>
 /// <param name="path"></param>
 /// <returns></returns>
 public AssetLocation CodeWithPath(string path)
 {
     return(Code.CopyWithPath(path));
 }