public DefineNavigationResourceAttribute(string url, string resourcePath, string resourceAssembyName, KnownResourceType resourceType) : base(url) { Guard.ArgumentNotNullOrWhiteSpace(resourcePath, "resourcePath"); // we get the assembly, not assuming that if not specified we take the application's assembly _resourceAssembyName = (!string.IsNullOrEmpty(resourceAssembyName)) ? resourceAssembyName : GetApplicationAssemblyName(); _resourcePath = resourcePath; _resourceType = resourceType; }
public DefineNavigationResourceAttribute(string url, string resourcePath, KnownResourceType resourceType) : this(url, resourcePath, null, resourceType) { }