System.Runtime.Remoting.MetadataServices.SdlParser.SdlParser C# (CSharp) Method

SdlParser() private method

private SdlParser ( TextReader input, String outputDir, ArrayList outCodeStreamList, String locationURL, bool bWrappedProxy ) : System
input TextReader
outputDir String
outCodeStreamList System.Collections.ArrayList
locationURL String
bWrappedProxy bool
return System
        internal SdlParser(TextReader input, String outputDir, ArrayList outCodeStreamList, String locationURL, bool bWrappedProxy)
        {
            Util.Log("SdlParser.SdlParser outputDir "+outputDir+" locationURL "+locationURL+" bWrappedProxy "+bWrappedProxy);
            // Initialize member variables
            _XMLReader = null;
            _readerStreams = new ReaderStream(locationURL);
            _readerStreams.InputStream = input;
            _writerStreams = null;
            _outputDir = outputDir;
            _outCodeStreamList = outCodeStreamList;
            _bWrappedProxy = bWrappedProxy;
            if (outputDir == null)
                outputDir = ".";

            int length = outputDir.Length;
            if(length > 0)
            {
                char endChar = outputDir[length-1];
                if(endChar != '\\' && endChar != '/')
                    _outputDir = _outputDir + '\\';
            }
            //_namespaceStack = null;
            _URTNamespaces = new ArrayList();
            _blockDefault = SchemaBlockType.ALL;
        }