Table of Contents

Class ResourceNotFoundFallbackPolicyAttribute

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Annotations.dll

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
object
Attribute
ResourceNotFoundFallbackPolicyAttribute

Constructors

ResourceNotFoundFallbackPolicyAttribute(string)

public ResourceNotFoundFallbackPolicyAttribute(string FilePath)

Parameters

FilePath string

ResourceNotFoundFallbackPolicyAttribute(string, HttpStatusCode)

public ResourceNotFoundFallbackPolicyAttribute(string FilePath, HttpStatusCode ResponseCode)

Parameters

FilePath string
ResponseCode HttpStatusCode

Fields

FilePath

The local/static file to be served by Prism when resource is not found

public string? FilePath

Field Value

string

ResponseCode

The file to be served by Prism when resource is not found

public HttpStatusCode ResponseCode

Field Value

HttpStatusCode