bool DetectCompositeHandlers(IEnumerable <CompositeOpCodeHandler> composites, IList <MethodSigInfo> handlerInfos)
        {
            var detector = new CompositeHandlerDetector(handlerInfos);

            foreach (var composite in composites)
            {
                if (!detector.FindHandlers(composite))
                {
                    return(false);
                }
            }
            return(true);
        }
Exemple #2
0
        bool DetectCompositeHandlers(IEnumerable <CompositeOpCodeHandler> composites, List <OpCodeHandler> otherHandlers)
        {
            var detector = new CompositeHandlerDetector(otherHandlers);

            foreach (var composite in composites)
            {
                if (!detector.FindHandlers(composite))
                {
                    return(false);
                }
            }
            return(true);
        }
		bool DetectCompositeHandlers(IEnumerable<CompositeOpCodeHandler> composites, IList<MethodSigInfo> handlerInfos) {
			var detector = new CompositeHandlerDetector(handlerInfos);
			foreach (var composite in composites) {
				if (!detector.FindHandlers(composite))
					return false;
			}
			return true;
		}
		bool DetectCompositeHandlers(IEnumerable<CompositeOpCodeHandler> composites, List<OpCodeHandler> otherHandlers) {
			var detector = new CompositeHandlerDetector(otherHandlers);
			foreach (var composite in composites) {
				if (!detector.FindHandlers(composite))
					return false;
			}
			return true;
		}