C# Class Chaos.Portal.Core.Indexing.View.ViewManager

The view manager.
Inheritance: IViewManager
Show file Open project: CHAOS-Community/Portal

Public Methods

Method Description
AddView ( IView view, bool force = false ) : void
Delete ( ) : void

Sends a delete all query to all Views, essentially cleaning the entire index

Delete ( string query ) : void

Sends a delete query to all Views

GetView ( string viewName ) : IView
Index ( IEnumerable objs ) : void

The index.

Index ( object obj ) : void

The index.

ViewManager ( IView>.IDictionary dictionary, ICache cache ) : System

Initializes a new instance of the ViewManager class.

Method Details

AddView() public method

public AddView ( IView view, bool force = false ) : void
view IView
force bool
return void

Delete() public method

Sends a delete all query to all Views, essentially cleaning the entire index
public Delete ( ) : void
return void

Delete() public method

Sends a delete query to all Views
public Delete ( string query ) : void
query string
return void

GetView() public method

public GetView ( string viewName ) : IView
viewName string
return IView

Index() public method

The index.
public Index ( IEnumerable objs ) : void
objs IEnumerable The objects.
return void

Index() public method

The index.
public Index ( object obj ) : void
obj object The object.
return void

ViewManager() public method

Initializes a new instance of the ViewManager class.
public ViewManager ( IView>.IDictionary dictionary, ICache cache ) : System
dictionary IView>.IDictionary The dictionary.
cache ICache
return System