[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;
 }