#IF Silverlight for interfaces
Posted
by
user278618
on Stack Overflow
See other posts from Stack Overflow
or by user278618
Published on 2012-10-14T19:03:38Z
Indexed on
2012/10/23
11:01 UTC
Read the original article
Hit count: 162
I have a multitargeted domain project (SL and .Net 4.0) and with problem with Color and so on I was using #if SILVERLIGHT constructs, but now I need to have for a SL project using my domain project few classes implementing INotifyDataErrorInfo which is not implemented on .Net 4.0 site and I will never use it.
I would be gratefull for advice how to make something like this
public class MyDomainClass: INotifyPropertyChanged, #IF Silverlight INotifyDataErrorInfo
{
© Stack Overflow or respective owner