public TypeHandlerCloneContext(HandlerRegistry handlerRegistry_, ITypeHandler4 original_
			, int version_)
		{
			handlerRegistry = handlerRegistry_;
			original = original_;
			version = version_;
		}
Exemplo n.º 2
0
 public HandlerVersionRegistry(HandlerRegistry registry)
 {
     _registry = registry;
 }
Exemplo n.º 3
0
		protected virtual void Initialize1(IConfiguration config)
		{
			_config = InitializeConfig(config);
			_handlers = new HandlerRegistry(this, ConfigImpl.Encoding(), ConfigImpl.Reflector
				());
			if (_references != null)
			{
				Gc();
				_references.Stop();
			}
			_references = WeakReferenceSupportFactory.ForObjectContainer(this);
			if (HasShutDownHook())
			{
				Platform4.AddShutDownHook(this);
			}
			_handlers.InitEncryption(ConfigImpl);
			_stillToSet = null;
		}