FileResource Class

Definition

Class which represents a file as a resource.

public class FileResource : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource
type FileResource = class
    inherit Resource
Public Class FileResource
Inherits Resource
Inheritance
FileResource

Constructors

Name Description
FileResource(String)

Initializes a new instance of the FileResource class.

Properties

Name Description
FullName

Gets or sets the resource path.

(Inherited from Resource)
Id

Gets or sets resource id.

(Inherited from Resource)

Methods

Name Description
OpenStreamAsync()

Open a stream to the resource.

ReadTextAsync()

Get resource as text async.

ToString()

Returns a string that represents the current object.

Applies to