Descent.Messaging.Events.TradeHeroCardEventArgs.PopulateWithArgs C# (CSharp) 메소드

PopulateWithArgs() 공개 메소드

public PopulateWithArgs ( string stringArgs ) : void
stringArgs string
리턴 void
        public override void PopulateWithArgs(string[] stringArgs)
        {
            Contract.Requires(stringArgs != null);
            Contract.Requires(stringArgs.Length == 1);

            Contract.Requires(EventContractHelper.TryParseInt(stringArgs[0]));

            CardId = int.Parse(stringArgs[0]);
        }