C# Class VSTalk.Engine.Core.History.HistoryService

Inheritance: IHistoryService
ファイルを表示 Open project: Irdis/VSTalk

Private Properties

Property Type Description
ToHistoryItem HistoryItem
ToMessage agsXMPP.protocol.client.Message
ToStoredItem StoredMessage

Public Methods

Method Description
HistoryService ( IHistoryDataProvider dataProvider ) : System
LatestMessageDate ( System.Guid clientId, Jid with ) : DateTime?
Read ( System.Guid clientId, Jid with ) : IEnumerable
Read ( System.Guid clientId, Jid with, System.DateTime @from ) : IEnumerable
Read ( System.Guid clientId, Jid with, System.DateTime @from, System.DateTime to ) : IEnumerable
Save ( ) : void

Private Methods

Method Description
ToHistoryItem ( StoredMessage arg ) : HistoryItem
ToMessage ( string messageXml ) : agsXMPP.protocol.client.Message
ToStoredItem ( IMessage arg ) : StoredMessage

Method Details

HistoryService() public method

public HistoryService ( IHistoryDataProvider dataProvider ) : System
dataProvider IHistoryDataProvider
return System

LatestMessageDate() public method

public LatestMessageDate ( System.Guid clientId, Jid with ) : DateTime?
clientId System.Guid
with Jid
return DateTime?

Read() public method

public Read ( System.Guid clientId, Jid with ) : IEnumerable
clientId System.Guid
with Jid
return IEnumerable

Read() public method

public Read ( System.Guid clientId, Jid with, System.DateTime @from ) : IEnumerable
clientId System.Guid
with Jid
@from System.DateTime
return IEnumerable

Read() public method

public Read ( System.Guid clientId, Jid with, System.DateTime @from, System.DateTime to ) : IEnumerable
clientId System.Guid
with Jid
@from System.DateTime
to System.DateTime
return IEnumerable

Save() public method

public Save ( ) : void
return void