> This seems to throw an exception in all cases. How do I replace "if (
> value.GetType() !=
> Type.GetType("GroupOne.Utilities.Remoting.IRemotingAnnouncement") )"
> with something that says "if value.GetType() is of any type that
> implements GroupOne.Utilities.Remoting.IRemotingAnnouncement?"
if
nced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Jekke Bladt
Sent: Tuesday, November 15, 2005 12:46 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] 1.1: Type comparison with Interfaces
All--
I have a custom collection class called RemotingAnnouncementCollection,
which s
All--
I have a custom collection class called RemotingAnnouncementCollection,
which should hold objects of any type that implements the
IRemotingAnnouncement interface. In the collection class's validator, I
have the following code:
protected override void OnValidate( Object value )
{
i