C
CSharper
It is a strange question;
I have a collection of Types which is derived off of IDictionary. When
ever something changes in the collection, I want to mark the
collection as changed a boolean flag. How can I do that or is it a
correct way of doing it?
public class MyType
{
}
public class TypeCollection<TValue>:IDictionary<string, TValue>
{
}
public class MyTypeCollection<TValue>:TypeCollection<TValue>
{
}
what I want to do is to set a boolean value in MyTypeCollection to
true when something changes in that collection.
Thanks,
I have a collection of Types which is derived off of IDictionary. When
ever something changes in the collection, I want to mark the
collection as changed a boolean flag. How can I do that or is it a
correct way of doing it?
public class MyType
{
}
public class TypeCollection<TValue>:IDictionary<string, TValue>
{
}
public class MyTypeCollection<TValue>:TypeCollection<TValue>
{
}
what I want to do is to set a boolean value in MyTypeCollection to
true when something changes in that collection.
Thanks,