Show / Hide Table of Contents

Class AsyncStorageCallbackArgs

Represents arguments passed to callbacks on success/failure of a async storage API call.

Inheritance
object
AsyncStorageCallbackArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public sealed class AsyncStorageCallbackArgs
Remarks

Primarily used to provide simple method signatures on the async storage API callbacks.

Constructors

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<string> stores)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IEnumerable<string> stores

Enumeration of Store IDs.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<string> stores, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IEnumerable<string> stores

Enumeration of Store IDs.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<Uri>)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<Uri> graphUris)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IEnumerable<Uri> graphUris

Enumeration of Graph URIs.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Exception ex)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

Exception ex

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string data)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string data

Data to return.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, IEnumerable<IStoreTemplate>)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IEnumerable<IStoreTemplate> templates)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string storeID

Store ID.

IEnumerable<IStoreTemplate> templates

Templates.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string data, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string data

Data to return.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, object)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, object queryResults)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string query

SPARQL Query.

object queryResults

Results to return.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, object, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, object queryResults, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string query

SPARQL Query.

object queryResults

Results to return.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string query

SPARQL Query.

IRdfHandler rdfHandler

RDF Handler to return.

ISparqlResultsHandler resultsHandler

Results Handler to return.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string query

SPARQL Query.

IRdfHandler rdfHandler

RDF Handler.

ISparqlResultsHandler resultsHandler

Results Handler.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, IAsyncStorageProvider, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IAsyncStorageProvider provider, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string storeID

Store ID.

IAsyncStorageProvider provider

Storage Provider.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, string, IStoreTemplate)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IStoreTemplate template)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

string storeID

Store ID.

IStoreTemplate template

Template.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, Uri)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Uri graphUri)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

Uri graphUri

URI of the affected Graph.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, Uri, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Uri graphUri, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

Uri graphUri

URI of the affected Graph.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IGraph g)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IGraph g

Graph to return.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IGraph g, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IGraph g

Graph to return.

Exception e

Error that occurred.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IRdfHandler handler)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IRdfHandler handler

Handler to return.

| Edit this page View Source

AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler, Exception)

Creates new callback arguments.

Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IRdfHandler handler, Exception e)
Parameters
Type Name Description
AsyncStorageOperation operation

Operation.

IRdfHandler handler

Handler to return.

Exception e

Error that occurred.

Properties

| Edit this page View Source

AvailableTemplates

Gets the templates that were created (if any).

Declaration
public IEnumerable<IStoreTemplate> AvailableTemplates { get; }
Property Value
Type Description
IEnumerable<IStoreTemplate>
| Edit this page View Source

Error

Gets the error that occurred (for failed operations).

Declaration
public Exception Error { get; }
Property Value
Type Description
Exception
| Edit this page View Source

Graph

Gets the Graph that was saved/loaded (if applicable).

Declaration
public IGraph Graph { get; }
Property Value
Type Description
IGraph
| Edit this page View Source

GraphUri

Gets the URI of the Graph affected by the operation.

Declaration
public Uri GraphUri { get; }
Property Value
Type Description
Uri
| Edit this page View Source

GraphUris

Gets the list of Graph URIs (if applicable).

Declaration
public IEnumerable<Uri> GraphUris { get; }
Property Value
Type Description
IEnumerable<Uri>
| Edit this page View Source

Operation

Gets the operation that was performed.

Declaration
public AsyncStorageOperation Operation { get; }
Property Value
Type Description
AsyncStorageOperation
| Edit this page View Source

Query

Gets the SPARQL Query (if applicable).

Declaration
public string Query { get; }
Property Value
Type Description
string
| Edit this page View Source

QueryResults

Gets the Query Results (if applicable).

Declaration
public object QueryResults { get; }
Property Value
Type Description
object
| Edit this page View Source

RdfHandler

Gets the RDF Handler used (if applicable).

Declaration
public IRdfHandler RdfHandler { get; }
Property Value
Type Description
IRdfHandler
| Edit this page View Source

ResultsHandler

Gets the Results Handler used (if applicable).

Declaration
public ISparqlResultsHandler ResultsHandler { get; }
Property Value
Type Description
ISparqlResultsHandler
| Edit this page View Source

StorageProvider

Gets the Storage Provider (if applicable).

Declaration
public IAsyncStorageProvider StorageProvider { get; }
Property Value
Type Description
IAsyncStorageProvider
Remarks

For the GetStore operation this will be the reference to the newly returned store instance.

| Edit this page View Source

StoreID

Gets the Store ID (if applicable).

Declaration
public string StoreID { get; }
Property Value
Type Description
string
| Edit this page View Source

StoreIDs

Gets the list of Store IDs (if applicable).

Declaration
public IEnumerable<string> StoreIDs { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

Template

Gets the template that was created (if any).

Declaration
public IStoreTemplate Template { get; }
Property Value
Type Description
IStoreTemplate
| Edit this page View Source

Updates

Gets the SPARQL Update (if applicable).

Declaration
public string Updates { get; }
Property Value
Type Description
string
| Edit this page View Source

WasSuccessful

Gets whether the async operation succeeded (no error occurred).

Declaration
public bool WasSuccessful { get; }
Property Value
Type Description
bool

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • AsyncStorageCallbackArgs(AsyncStorageOperation)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<Uri>)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, IEnumerable<IStoreTemplate>)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, object)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, object, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, IAsyncStorageProvider, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, string, IStoreTemplate)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, Uri)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, Uri, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph, Exception)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler)
    • AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler, Exception)
  • Properties
    • AvailableTemplates
    • Error
    • Graph
    • GraphUri
    • GraphUris
    • Operation
    • Query
    • QueryResults
    • RdfHandler
    • ResultsHandler
    • StorageProvider
    • StoreID
    • StoreIDs
    • Template
    • Updates
    • WasSuccessful
  • Extension Methods
Back to top Generated by DocFX