Class ResourceNotFoundFallbackPolicyAttribute
This service will only serve static files and will have no code running in Fireflies.
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
public class ResourceNotFoundFallbackPolicyAttribute : Attribute
- Inheritance
-
objectAttributeResourceNotFoundFallbackPolicyAttribute
Constructors
ResourceNotFoundFallbackPolicyAttribute(string)
public ResourceNotFoundFallbackPolicyAttribute(string FilePath)
Parameters
FilePath
string
ResourceNotFoundFallbackPolicyAttribute(string, HttpStatusCode)
public ResourceNotFoundFallbackPolicyAttribute(string FilePath, HttpStatusCode ResponseCode)
Parameters
FilePath
stringResponseCode
HttpStatusCode
Fields
FilePath
The local/static file to be served by Prism when resource is not found
public string? FilePath
Field Value
ResponseCode
The file to be served by Prism when resource is not found
public HttpStatusCode ResponseCode