public bool Equals(AssetPlanKey other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (Equals(other.MimeType, MimeType)) { return(other.Names.IsEqualTo(Names)); } return(false); }
private IEnumerable <HtmlTag> TagsForPlan(AssetPlanKey key) { //HACK:Hard coded path to assets return(key.Names.Select(asset => _builders[key.MimeType](Path.Combine("/_assets/", asset)))); }