private static Observable Observable(IImplementacion impl) { if (impl.GetType().GetTypeInfo().IsSubclassOf(typeof(ImplementacionBase))) { return(Observable((ImplementacionBase)impl)); } else { return(null); } }