DefaultFilesOptions Class

 

Options for selecting default file names.

Namespace:   Microsoft.Owin.StaticFiles
Assembly:  Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.StaticFiles.Infrastructure.SharedOptionsBase<T>
    Microsoft.Owin.StaticFiles.DefaultFilesOptions

Syntax

public class DefaultFilesOptions : SharedOptionsBase<DefaultFilesOptions>
public ref class DefaultFilesOptions : SharedOptionsBase<DefaultFilesOptions^>
type DefaultFilesOptions = 
    class
        inherit SharedOptionsBase<DefaultFilesOptions>
    end
Public Class DefaultFilesOptions
    Inherits SharedOptionsBase(Of DefaultFilesOptions)

Constructors

Name Description
System_CAPS_pubmethod DefaultFilesOptions()

Configuration for the DefaultFilesMiddleware.

System_CAPS_pubmethod DefaultFilesOptions(SharedOptions)

Configuration for the DefaultFilesMiddleware.

Properties

Name Description
System_CAPS_pubproperty DefaultFileNames

An ordered list of file names to select by default. List length and ordering may affect performance.

System_CAPS_pubproperty FileSystem

The file system used to locate resources(Inherited from SharedOptionsBase<T>.)

System_CAPS_pubproperty RequestPath

The relative request path that maps to static resources.(Inherited from SharedOptionsBase<T>.)

System_CAPS_protproperty SharedOptions

Options common to several middleware components(Inherited from SharedOptionsBase<T>.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.StaticFiles Namespace

Return to top