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

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

            return(typesOfResource);
        }