BitsAndPieces.Asynchrony.RunWithDelegates C# (CSharp) Method

RunWithDelegates() public method

public RunWithDelegates ( ) : void
return void
        public void RunWithDelegates()
        {
            _getPersonAsync = new GetPersonAsync(GetPerson);
            _getPersonAsync.BeginInvoke(GetPersonCallBack, null);
            //or
            _getPersonAsync.BeginInvoke((result) =>
                {
                    var person = _getPersonAsync.EndInvoke(result);
                }, null);
        }
        internal void GetPersonCallBack(IAsyncResult asyncResult)