Consider the following interface...
public interface ILibraryService<T>
where T : Library
{
ReadOnlyObservableCollection<T> AvailableLibraries { get; }
}
I want to define a static property which can hold any object which implements this interface, like this pseudo-code...
public static class Services
{
public static ILibraryService<T> LibraryService { get; set; }
}
...but I can't figure out how to define the property. I know it's something simple, but I'm just not seeing it.