[Inject(true)] //TODO: When propertyInfo.IsOptional tag works for the injector in IL2CPP remove optional inject tag 
		public ViewProcessorMap(IViewProcessorFactory factory, IViewProcessorViewHandler handler = null)
		{
			if (handler == null)
			{
				handler = new ViewProcessorViewHandler(factory);
			}
			_handler = handler;
		}
示例#2
0
 [Inject(true)]         //TODO: When propertyInfo.IsOptional tag works for the injector in IL2CPP remove optional inject tag
 public ViewProcessorMap(IViewProcessorFactory factory, IViewProcessorViewHandler handler = null)
 {
     if (handler == null)
     {
         handler = new ViewProcessorViewHandler(factory);
     }
     _handler = handler;
 }
        /*============================================================================*/
        /* Constructor                                                                */
        /*============================================================================*/

        public ViewProcessorMapper(ITypeFilter matcher, IViewProcessorViewHandler handler, ILogging logger = null)
        {
            _handler = handler;
            _matcher = matcher;
            _logger  = logger;
        }
		/*============================================================================*/
		/* Constructor                                                                */
		/*============================================================================*/

		public ViewProcessorMapper(ITypeFilter matcher, IViewProcessorViewHandler handler, ILogger logger = null)
		{
			_handler = handler;
			_matcher = matcher;
			_logger = logger;
		}