Basic.BasicUsage.UseGhost C# (CSharp) Method

UseGhost() private method

private UseGhost ( ) : void
return void
        private void UseGhost()
        {
            _cardTable.GhostValueFactory = id => new CardDescription { Id = id, Name = "Ghost " };

            var card = _cardTable["GVG_200"];
            Console.WriteLine("Name: " + card.Name);
            Console.WriteLine("Text: " + card.Text);
        }