C# Класс PPPDDDChap23.EventSourcing.Application.Infrastructure.PayAsYouGoAccountRepository

Наследование: IPayAsYouGoAccountRepository
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( PayAsYouGoAccount payAsYouGoAccount ) : void
FindBy ( System.Guid id ) : PayAsYouGoAccount
PayAsYouGoAccountRepository ( EventStore eventStore ) : System
PayAsYouGoAccountRepository ( IEventStore eventStore ) : System
Save ( PayAsYouGoAccount payAsYouGoAccount ) : void
SaveSnapshot ( PayAsYouGoAccountSnapshot snapshot, PayAsYouGoAccount payAsYouGoAccount ) : void

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

Метод Описание
GetExpectedVersion ( int expectedVersion ) : int?
StreamNameFor ( System.Guid id ) : string

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

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

public Add ( PayAsYouGoAccount payAsYouGoAccount ) : void
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
Результат void

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

public FindBy ( System.Guid id ) : PayAsYouGoAccount
id System.Guid
Результат PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount

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

public PayAsYouGoAccountRepository ( EventStore eventStore ) : System
eventStore EventStore
Результат System

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

public PayAsYouGoAccountRepository ( IEventStore eventStore ) : System
eventStore IEventStore
Результат System

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

public Save ( PayAsYouGoAccount payAsYouGoAccount ) : void
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
Результат void

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

public SaveSnapshot ( PayAsYouGoAccountSnapshot snapshot, PayAsYouGoAccount payAsYouGoAccount ) : void
snapshot PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccountSnapshot
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
Результат void