CQRS.Talk.Sample1.SeparateReadsFromWrites.DictinarySample.CQS_Compliant C# (CSharp) Method

CQS_Compliant() public method

This is CQS compliant version that does the same thing as above.
public CQS_Compliant ( ) : void
return void
        public void CQS_Compliant()
        {
            if (dictionary.ContainsKey("SomeKey"))
            {
                var result = dictionary["someKey"];
            }
        }