[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;
		}
Exemplo n.º 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;
 }