public Asset(AssetType type, ScriptLocation location, string file = null, string inline = null, string site = null) { this.Type = type; this.File = file; this.Location = location; this.Inline = inline; if (!string.IsNullOrEmpty(inline)) { this.AddOnceToken = inline.GetHashCode().ToString(); } this.Site = site; }