/// <summary> /// Deserializes STEP format data by reading stream provided by a StreamReader. An iso_10303 object is returned. /// </summary> /// <param name="reader"></param> /// <returns></returns> public iso_10303 Deserialize(IStepReader reader) { if (reader == null) { throw new ArgumentNullException("reader"); } this._internalDeserializer = new StepDeserializer(); this._binder = new StepBinder(); StepFile stepFile = this._internalDeserializer.Deserialize(reader); iso_10303 iso10303 = this._binder.Bind(stepFile); return(iso10303); }
public void SetUp() { BasicConfigurator.Configure(); SUT = new StepDeserializer(); }