[Mono-ue] How to assign IList to IList

Ryan Burnham nitro52 at iinet.net.au
Mon Jan 12 22:32:55 UTC 2015

What is the error? What's the class definition of AoE passed into unit look like?

-----Original Message-----
From: "Ahmet Faruk GÜNTÜRKÜN" <vadsl05 at gmail.com>
Sent: ‎13/‎01/‎2015 2:40 AM
To: "mono-ue" <mono-ue at lists.ximian.com>
Subject: [Mono-ue] How to assign IList to IList

I have at class which name is AoE derived from BaseSpell which have virtual
Init() function :

public IList<AoEDamageVarience> DamageVarience { get; set; }

public override void Init(AoE _aoe){
DamageVarience = aoe.DamageVarience;

There is error when I compiling the codes. If I delete "DamageVarience =
aoe.DamageVarience; " there is any error. How can assign IList to IList ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-ue/attachments/20150113/385570e6/attachment.html>

More information about the Mono-ue mailing list