Loading...
Searching...
No Matches
ATAS.Indicators.IIndicatorStorage Interface Reference

Provides path-free access to storage owned by the current indicator. More...

Inheritance diagram for ATAS.Indicators.IIndicatorStorage:
[legend]

Public Member Functions

IIndicatorStorage GetSubGroup (string name)
 Narrows this capability to a logical child group.
 
ValueTask< bool > ExistsAsync (string name, CancellationToken cancellationToken=default)
 Determines whether a file or group with the specified logical name exists.
 
ValueTask< StorageEntryInfo?> GetInfoAsync (string name, CancellationToken cancellationToken=default)
 Gets logical metadata for a file or group.
 
ValueTask< Stream > OpenReadAsync (string name, CancellationToken cancellationToken=default)
 Opens a seekable, read-only snapshot of a file.
 
ValueTask< IStorageWriteSession > CreateOrReplaceAsync (string name, CancellationToken cancellationToken=default)
 Creates a transactional session that atomically creates or replaces a file on commit.
 
ValueTask< IStorageAppendSession > OpenAppendAsync (string name, CancellationToken cancellationToken=default)
 Opens an append session. Only one writer can own a logical file at a time.
 
IAsyncEnumerable< StorageEntryInfo > EnumerateAsync (CancellationToken cancellationToken=default)
 Enumerates direct children of the current logical group.
 
ValueTask DeleteAsync (string name, CancellationToken cancellationToken=default)
 Deletes a file. Recursive group deletion is not supported.
 

Detailed Description

Provides path-free access to storage owned by the current indicator.

Member Function Documentation

◆ CreateOrReplaceAsync()

ValueTask< IStorageWriteSession > ATAS.Indicators.IIndicatorStorage.CreateOrReplaceAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Creates a transactional session that atomically creates or replaces a file on commit.

◆ DeleteAsync()

ValueTask ATAS.Indicators.IIndicatorStorage.DeleteAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Deletes a file. Recursive group deletion is not supported.

◆ EnumerateAsync()

IAsyncEnumerable< StorageEntryInfo > ATAS.Indicators.IIndicatorStorage.EnumerateAsync ( CancellationToken  cancellationToken = default)

Enumerates direct children of the current logical group.

◆ ExistsAsync()

ValueTask< bool > ATAS.Indicators.IIndicatorStorage.ExistsAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Determines whether a file or group with the specified logical name exists.

◆ GetInfoAsync()

ValueTask< StorageEntryInfo?> ATAS.Indicators.IIndicatorStorage.GetInfoAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Gets logical metadata for a file or group.

◆ GetSubGroup()

IIndicatorStorage ATAS.Indicators.IIndicatorStorage.GetSubGroup ( string  name)

Narrows this capability to a logical child group.

Parameters
nameA single logical name, not a relative path.
Returns
A capability scoped to the requested child group.

◆ OpenAppendAsync()

ValueTask< IStorageAppendSession > ATAS.Indicators.IIndicatorStorage.OpenAppendAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Opens an append session. Only one writer can own a logical file at a time.

◆ OpenReadAsync()

ValueTask< Stream > ATAS.Indicators.IIndicatorStorage.OpenReadAsync ( string  name,
CancellationToken  cancellationToken = default 
)

Opens a seekable, read-only snapshot of a file.


The documentation for this interface was generated from the following file: