site
Creates a new Site with a backing history.
Parameters
the MutableHistory backing the site.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
Creates a new Site with a backing history.
Parameters
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the events managed by this Site.
Creates a new Site for the provided SiteIdentifier, with a backing log. Additionally, this overload takes a OneWayProjection and lets you specify a projection to apply to the data.
Parameters
the initial value for the projection aggregate.
the OneWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
Creates a new Site for the provided SiteIdentifier, with a backing log. Additionally, this overload takes a TwoWayProjection and lets you specify a projection to apply to the data.
Parameters
the initial value for the projection aggregate.
the TwoWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the changes generated by this Site.
Creates a new Site for the provided SiteIdentifier, with a backing log.
Parameters
the MutableHistory for this Site.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the backing model for this Site.