Example #1
0
        public void Dispose()
        {
            if (!_isDisposed)
            {
                _attestationInfoBuilder?.Dispose();
                _auditInfoBuilder?.Dispose();
                _BLBuilder?.Dispose();
                _CDBuilder?.Dispose();
                _CEBuilder?.Dispose();
                _clusterBuilder?.Dispose();
                _codedTextBuilder?.Dispose();
                _compositionBuilder?.Dispose();
                _CRBuilder?.Dispose();
                _CSBuilder?.Dispose();
                _CVBuilder?.Dispose();
                _DATEBuilder?.Dispose();
                _durationBuilder?.Dispose();
                _EDBuilder?.Dispose();
                _EIVLBuilder?.Dispose();
                _elementBuilder?.Dispose();
                _entryBuilder?.Dispose();
                _folderBuilder?.Dispose();
                _functionalRoleBuilder?.Dispose();
                _IIBuilder?.Dispose();
                _INTBuilder?.Dispose();
                _IVLBuilder?.Dispose();
                _IVLPQBuilder?.Dispose();
                _IVLTSBuilder?.Dispose();
                _linkBuilder?.Dispose();
                _ORDBulder?.Dispose();
                _PIVLBuilder?.Dispose();
                _PQBuilder?.Dispose();
                _REALBuilder?.Dispose();
                _ehrExtractModelBuilder?.Dispose();
                _relatedPartyBuilder?.Dispose();
                _RTOBuilder?.Dispose();
                _sectionBuilder?.Dispose();
                _simpleTextBuilder?.Dispose();
                _TSBuilder?.Dispose();
                _URIBuilder?.Dispose();

                _locker?.Dispose();

                GC.SuppressFinalize(this);
                _isDisposed = !_isDisposed;
            }
        }