public ResourceUrl(Assembly assembly, params string[] path) : this(path) { string name = assembly.GetName().Name; if (this.url.StartsWith("/")) { this.url = "assembly:" + name + ";" + this.url.Substring(1); } else { this.url = name + "/" + this.url; } this.url = ResourceUrl.BuildUrl("embedded", this.url); }
internal ResourceUrl(string scheme, string path) { this.url = ResourceUrl.BuildUrl(scheme, path); }