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
파일 보기 프로젝트 열기: appacitive/Profiling

공개 메소드들

메소드 설명
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