Exemplo n.º 1
0
        static IEnumerable <Type> KnownTypes()
        {
            IList <Type> typesOfResource =
                TypesResolver.GetKnownTypes(null).Where(x => typeof(ResponseBase).IsAssignableFrom(x)).ToList();

            return(typesOfResource);
        }
Exemplo n.º 2
0
        static IEnumerable <Type> KnownTypes()
        {
            IList <Type> typesOfResource =
                TypesResolver.GetKnownTypes(null).Where(x => typeof(DoorOpenBehaviorService).IsAssignableFrom(x)).ToList();

            return(typesOfResource);
        }