C# Класс 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
Наследование: IStorage
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetCacheKey ( System.Guid guid ) : object

Описание методов

GetUnviewedIds() публичный Метод

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
Результат List

List() публичный Метод

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
Результат IEnumerable

Load() публичный Метод

public Load ( System.Guid id ) : MiniProfiler
id System.Guid
Результат MiniProfiler

Save() публичный Метод

public Save ( MiniProfiler profiler ) : void
profiler MiniProfiler
Результат void

SetUnviewed() публичный Метод

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
Результат void

SetViewed() публичный Метод

trivial implementation
public SetViewed ( string user, System.Guid id ) : void
user string
id System.Guid
Результат void