C# Class Platform.ViewClients.FileViewRoot

Storage container using System.IO for persisting data
Inheritance: IRawViewContainer, IRawViewRoot
Mostrar archivo Open project: Lokad/lokad-data-platform Class Usage Examples

Public Methods

Method Description
ContainerExists ( ) : bool
DeleteContainer ( ) : void
EnsureContainerExists ( ) : IRawViewContainer
FileViewRoot ( DirectoryInfo root ) : System.Collections.Generic

Initializes a new instance of the FileViewRoot class.

FileViewRoot ( string path ) : System.Collections.Generic

Initializes a new instance of the FileViewRoot class.

GetContainer ( string containerName ) : IRawViewContainer
ItemExists ( string itemName ) : bool
ListAllNestedItems ( ) : IEnumerable
ListAllNestedItemsWithDetail ( ) : IEnumerable
ListContainers ( string prefix = null ) : IEnumerable
OpenRead ( string itemName ) : Stream
OpenWrite ( string itemName ) : Stream
TryDeleteItem ( string itemName ) : void

Method Details

ContainerExists() public method

public ContainerExists ( ) : bool
return bool

DeleteContainer() public method

public DeleteContainer ( ) : void
return void

EnsureContainerExists() public method

public EnsureContainerExists ( ) : IRawViewContainer
return IRawViewContainer

FileViewRoot() public method

Initializes a new instance of the FileViewRoot class.
public FileViewRoot ( DirectoryInfo root ) : System.Collections.Generic
root System.IO.DirectoryInfo The root.
return System.Collections.Generic

FileViewRoot() public method

Initializes a new instance of the FileViewRoot class.
public FileViewRoot ( string path ) : System.Collections.Generic
path string The path.
return System.Collections.Generic

GetContainer() public method

public GetContainer ( string containerName ) : IRawViewContainer
containerName string
return IRawViewContainer

ItemExists() public method

public ItemExists ( string itemName ) : bool
itemName string
return bool

ListAllNestedItems() public method

public ListAllNestedItems ( ) : IEnumerable
return IEnumerable

ListAllNestedItemsWithDetail() public method

public ListAllNestedItemsWithDetail ( ) : IEnumerable
return IEnumerable

ListContainers() public method

public ListContainers ( string prefix = null ) : IEnumerable
prefix string
return IEnumerable

OpenRead() public method

public OpenRead ( string itemName ) : Stream
itemName string
return System.IO.Stream

OpenWrite() public method

public OpenWrite ( string itemName ) : Stream
itemName string
return System.IO.Stream

TryDeleteItem() public method

public TryDeleteItem ( string itemName ) : void
itemName string
return void