C# Class cloudscribe.Core.Storage.NoDb.GeoCommands

Inheritance: IGeoCommands
Mostrar archivo Open project: joeaudette/cloudscribe

Public Methods

Method Description
Add ( IGeoCountry geoCountry, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Add ( IGeoZone geoZone, CancellationToken cancellationToken = default(CancellationToken) ) : Task
DeleteCountry ( System.Guid countryId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
DeleteGeoZone ( System.Guid stateId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
DeleteGeoZonesByCountry ( System.Guid countryId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Dispose ( ) : void
Dispose ( bool disposing ) : void
GeoCommands ( IBasicQueries countryQueries, IBasicCommands countryCommands, IBasicQueries stateQueries, IBasicCommands stateCommands ) : cloudscribe.Core.Models.Geography
Update ( IGeoCountry geoCountry, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Update ( IGeoZone geoZone, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Private Methods

Method Description
ThrowIfDisposed ( ) : void

Method Details

Add() public method

public Add ( IGeoCountry geoCountry, CancellationToken cancellationToken = default(CancellationToken) ) : Task
geoCountry IGeoCountry
cancellationToken System.Threading.CancellationToken
return Task

Add() public method

public Add ( IGeoZone geoZone, CancellationToken cancellationToken = default(CancellationToken) ) : Task
geoZone IGeoZone
cancellationToken System.Threading.CancellationToken
return Task

DeleteCountry() public method

public DeleteCountry ( System.Guid countryId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
countryId System.Guid
cancellationToken System.Threading.CancellationToken
return Task

DeleteGeoZone() public method

public DeleteGeoZone ( System.Guid stateId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
stateId System.Guid
cancellationToken System.Threading.CancellationToken
return Task

DeleteGeoZonesByCountry() public method

public DeleteGeoZonesByCountry ( System.Guid countryId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
countryId System.Guid
cancellationToken System.Threading.CancellationToken
return Task

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

GeoCommands() public method

public GeoCommands ( IBasicQueries countryQueries, IBasicCommands countryCommands, IBasicQueries stateQueries, IBasicCommands stateCommands ) : cloudscribe.Core.Models.Geography
countryQueries IBasicQueries
countryCommands IBasicCommands
stateQueries IBasicQueries
stateCommands IBasicCommands
return cloudscribe.Core.Models.Geography

Update() public method

public Update ( IGeoCountry geoCountry, CancellationToken cancellationToken = default(CancellationToken) ) : Task
geoCountry IGeoCountry
cancellationToken System.Threading.CancellationToken
return Task

Update() public method

public Update ( IGeoZone geoZone, CancellationToken cancellationToken = default(CancellationToken) ) : Task
geoZone IGeoZone
cancellationToken System.Threading.CancellationToken
return Task