internal InternalDeserializer(XmlReader reader, DeserializationContext context) { this._reader = reader; this._context = context; this.objectRefIdHandler = new ReferenceIdHandlerForDeserializer<object>(); this.typeRefIdHandler = new ReferenceIdHandlerForDeserializer<ConsolidatedString>(); }
internal Deserializer(XmlReader reader, DeserializationContext context) { if (reader == null) { throw PSTraceSource.NewArgumentNullException("reader"); } this._reader = reader; this._context = context; this._deserializer = new InternalDeserializer(this._reader, this._context); try { this.Start(); } catch (XmlException exception) { ReportExceptionForETW(exception); throw; } }
internal Fragmentor(int fragmentSize, PSRemotingCryptoHelper cryptoHelper) { this._fragmentSize = fragmentSize; this._serializationContext = new SerializationContext(SerializationDepthForRemoting, SerializationOptions.RemotingOptions, cryptoHelper); this._deserializationContext = new System.Management.Automation.DeserializationContext(DeserializationOptions.RemotingOptions, cryptoHelper); }