C# Class CQRS.Talk.Sample1.SeparateReadsFromWrites.Separate

The solution to the previous problem is to separate command from a query. Query if the attribute exists; then update the value - as 2 different operations
Show file Open project: trailmax/CQRS.Talk

Public Methods

Method Description
AttributeExists ( String attributeName ) : bool
Consumer ( ) : void
SetAttribute ( String attributeName, String value ) : void

Method Details

AttributeExists() public method

public AttributeExists ( String attributeName ) : bool
attributeName String
return bool

Consumer() public method

public Consumer ( ) : void
return void

SetAttribute() public method

public SetAttribute ( String attributeName, String value ) : void
attributeName String
value String
return void