C# Class StackExchange.Profiling.Wcf.Storage.WcfRequestInstanceStorage

Provides a mechanism for just storing the results of the profiling in the request context items This gives us just enough storage to return the results as part of the headers and no more Use this in a N-tier scenario when the calling tier understands results and is able to persist them
Inheritance: IStorage
Afficher le fichier Open project: appacitive/Profiling

Méthodes publiques

Méthode Description
GetUnviewedIds ( string user ) : List

We're not going to worry about unviewed ids for this - there should only be one method associated with this, just return it

List ( int maxResults, System.DateTime start = null, System.DateTime finish = null, ListResultsOrder orderBy = ListResultsOrder.Decending ) : IEnumerable
Load ( System.Guid id ) : MiniProfiler
Save ( MiniProfiler profiler ) : void
SetUnviewed ( string user, System.Guid id ) : void

trivial implementation - we do not do any per user stuff ... so skip

SetViewed ( string user, System.Guid id ) : void

trivial implementation

Private Methods

Méthode Description
GetCacheKey ( System.Guid guid ) : object

Method Details

GetUnviewedIds() public méthode

We're not going to worry about unviewed ids for this - there should only be one method associated with this, just return it
public GetUnviewedIds ( string user ) : List
user string
Résultat List

List() public méthode

public List ( int maxResults, System.DateTime start = null, System.DateTime finish = null, ListResultsOrder orderBy = ListResultsOrder.Decending ) : IEnumerable
maxResults int
start System.DateTime
finish System.DateTime
orderBy ListResultsOrder
Résultat IEnumerable

Load() public méthode

public Load ( System.Guid id ) : MiniProfiler
id System.Guid
Résultat MiniProfiler

Save() public méthode

public Save ( MiniProfiler profiler ) : void
profiler MiniProfiler
Résultat void

SetUnviewed() public méthode

trivial implementation - we do not do any per user stuff ... so skip
public SetUnviewed ( string user, System.Guid id ) : void
user string
id System.Guid
Résultat void

SetViewed() public méthode

trivial implementation
public SetViewed ( string user, System.Guid id ) : void
user string
id System.Guid
Résultat void