Skip to main content

Definition

Assembly: CloudNimble.SimpleMessageBus.Dispatch.FileSystem.dll Namespace: CloudNimble.SimpleMessageBus.Dispatch.Triggers Inheritance: System.Attribute

Syntax

CloudNimble.SimpleMessageBus.Dispatch.Triggers.SimpleMessageBusFileAttribute

Summary

Attribute used to bind a parameter to a file.

Remarks

The method parameter type can be one of the following:

Constructors

.ctor

Constructs a new instance.

Syntax

public SimpleMessageBusFileAttribute(string path, System.IO.FileAccess access = 1)

Parameters

NameTypeDescription
pathstringThe file path to bind to.
accessSystem.IO.FileAccessThe FileAccess to use.

.ctor

Constructs a new instance.

Syntax

public SimpleMessageBusFileAttribute(string path, System.IO.FileAccess access, System.IO.FileMode mode)

Parameters

NameTypeDescription
pathstringThe file path to bind to.
accessSystem.IO.FileAccessThe FileAccess to use.
modeSystem.IO.FileModeThe FileMode to use.

Properties

Access

Gets he FileAccess to use.

Syntax

public System.IO.FileAccess Access { get; private set; }

Property Value

Type: System.IO.FileAccess

Mode

Gets the FileMode to use.

Syntax

public System.IO.FileMode Mode { get; private set; }

Property Value

Type: System.IO.FileMode

Path

Gets the file path.

Syntax

public string Path { get; private set; }

Property Value

Type: string