C# Class Tests.AutomationExtensions

Datei anzeigen Open project: joshilewis/lending

Public Methods

Method Description
AcceptLinkForLinkedLibrariesIgnored ( ) : void
AcceptUnrequestedLinkIgnored ( ) : void
AcceptsLibraryLink ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, System.Guid requestingLibraryId ) : void
AddsBookToLibrary ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, string title, string author, string isbn, int publishYear ) : void
BookAddedSucccessfully ( ) : void
BookAddedToLibrary ( System.Guid processId, System.Guid aggregateId, string title, string author, string isbn, int publishYear ) : void
BookRemovedFromLibrary ( System.Guid processId, System.Guid aggregateId, string title, string author, string isbn, int publishYear ) : void
BookRemovedSucccessfully ( ) : void
DuplicateEventIgnored ( ) : void
DuplicateLinkRequestIgnored ( ) : void
FailtNotFound ( ) : void
HandleEvent ( Event @event ) : void
IgnoreBecauseBookNotInLibrary ( ) : void
LibrariesLinked ( ) : void
LibraryOpened ( System.Guid processId, System.Guid userId, string name ) : void
LibraryOpenedSuccessfully ( ) : void
LinkAccepted ( System.Guid processId, System.Guid aggregateId, System.Guid requestingLibraryId ) : void
LinkRequestCreated ( ) : void
LinkRequestForLinkedLibrariesIgnored ( ) : void
LinkRequested ( System.Guid processId, System.Guid aggregateId, System.Guid targetLibraryId ) : void
LinkRequestedToSelfIgnored ( ) : void
OpensLibrary ( System.Guid processId, System.Guid userId, string name ) : void
RemovesBookFromLibrary ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, string title, string author, string isbn, int publishYear ) : void
RequestsLibraryLink ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, System.Guid targetLibraryId ) : void
ReverseLinkRequestIgnored ( ) : void
SearchForLibraries ( string searchTerm ) : void
SearchForLibrariesAsUser ( string searchTerm, System.Guid userId ) : void
UnauthorisedCommandIgnored ( System.Guid userId, Type aggregateType, System.Guid aggregateId ) : void
UserRegisters ( System.Guid id, string name, string emailAddress, string picture ) : void

Method Details

AcceptLinkForLinkedLibrariesIgnored() public static method

public static AcceptLinkForLinkedLibrariesIgnored ( ) : void
return void

AcceptUnrequestedLinkIgnored() public static method

public static AcceptUnrequestedLinkIgnored ( ) : void
return void

AcceptsLibraryLink() public static method

public static AcceptsLibraryLink ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, System.Guid requestingLibraryId ) : void
transactionId System.Guid
libraryId System.Guid
userId System.Guid
requestingLibraryId System.Guid
return void

AddsBookToLibrary() public static method

public static AddsBookToLibrary ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, string title, string author, string isbn, int publishYear ) : void
transactionId System.Guid
libraryId System.Guid
userId System.Guid
title string
author string
isbn string
publishYear int
return void

BookAddedSucccessfully() public static method

public static BookAddedSucccessfully ( ) : void
return void

BookAddedToLibrary() public static method

public static BookAddedToLibrary ( System.Guid processId, System.Guid aggregateId, string title, string author, string isbn, int publishYear ) : void
processId System.Guid
aggregateId System.Guid
title string
author string
isbn string
publishYear int
return void

BookRemovedFromLibrary() public static method

public static BookRemovedFromLibrary ( System.Guid processId, System.Guid aggregateId, string title, string author, string isbn, int publishYear ) : void
processId System.Guid
aggregateId System.Guid
title string
author string
isbn string
publishYear int
return void

BookRemovedSucccessfully() public static method

public static BookRemovedSucccessfully ( ) : void
return void

DuplicateEventIgnored() public static method

public static DuplicateEventIgnored ( ) : void
return void

DuplicateLinkRequestIgnored() public static method

public static DuplicateLinkRequestIgnored ( ) : void
return void

FailtNotFound() public static method

public static FailtNotFound ( ) : void
return void

HandleEvent() public static method

public static HandleEvent ( Event @event ) : void
@event Joshilewis.Cqrs.Event
return void

IgnoreBecauseBookNotInLibrary() public static method

public static IgnoreBecauseBookNotInLibrary ( ) : void
return void

LibrariesLinked() public static method

public static LibrariesLinked ( ) : void
return void

LibraryOpened() public static method

public static LibraryOpened ( System.Guid processId, System.Guid userId, string name ) : void
processId System.Guid
userId System.Guid
name string
return void

LibraryOpenedSuccessfully() public static method

public static LibraryOpenedSuccessfully ( ) : void
return void

LinkAccepted() public static method

public static LinkAccepted ( System.Guid processId, System.Guid aggregateId, System.Guid requestingLibraryId ) : void
processId System.Guid
aggregateId System.Guid
requestingLibraryId System.Guid
return void

LinkRequestCreated() public static method

public static LinkRequestCreated ( ) : void
return void

LinkRequestForLinkedLibrariesIgnored() public static method

public static LinkRequestForLinkedLibrariesIgnored ( ) : void
return void

LinkRequested() public static method

public static LinkRequested ( System.Guid processId, System.Guid aggregateId, System.Guid targetLibraryId ) : void
processId System.Guid
aggregateId System.Guid
targetLibraryId System.Guid
return void

LinkRequestedToSelfIgnored() public static method

public static LinkRequestedToSelfIgnored ( ) : void
return void

OpensLibrary() public static method

public static OpensLibrary ( System.Guid processId, System.Guid userId, string name ) : void
processId System.Guid
userId System.Guid
name string
return void

RemovesBookFromLibrary() public static method

public static RemovesBookFromLibrary ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, string title, string author, string isbn, int publishYear ) : void
transactionId System.Guid
libraryId System.Guid
userId System.Guid
title string
author string
isbn string
publishYear int
return void

RequestsLibraryLink() public static method

public static RequestsLibraryLink ( System.Guid transactionId, System.Guid libraryId, System.Guid userId, System.Guid targetLibraryId ) : void
transactionId System.Guid
libraryId System.Guid
userId System.Guid
targetLibraryId System.Guid
return void

ReverseLinkRequestIgnored() public static method

public static ReverseLinkRequestIgnored ( ) : void
return void

SearchForLibraries() public static method

public static SearchForLibraries ( string searchTerm ) : void
searchTerm string
return void

SearchForLibrariesAsUser() public static method

public static SearchForLibrariesAsUser ( string searchTerm, System.Guid userId ) : void
searchTerm string
userId System.Guid
return void

UnauthorisedCommandIgnored() public static method

public static UnauthorisedCommandIgnored ( System.Guid userId, Type aggregateType, System.Guid aggregateId ) : void
userId System.Guid
aggregateType System.Type
aggregateId System.Guid
return void

UserRegisters() public static method

public static UserRegisters ( System.Guid id, string name, string emailAddress, string picture ) : void
id System.Guid
name string
emailAddress string
picture string
return void