示例#1
0
 internal MergeSettings(MergeReferences references, MergeUsings usings, MergeFields fields, MergeMethods methods)
 {
     _references = references;
     _usings     = usings;
     _fields     = fields;
     _methods    = methods;
 }
示例#2
0
        internal MergeMethods Clone()
        {
            MergeMethods methods = new MergeMethods();

            foreach (string method in _methods)
            {
                methods._methods.Add(method);
            }
            return(methods);
        }
示例#3
0
        public MergeSettings()
        {
            _references = new MergeReferences();
            _usings     = new MergeUsings();
            _fields     = new MergeFields();
            _methods    = new MergeMethods();

            // Add some standard stuff that will be needed.

            _references.Add(typeof(string).Assembly);
            _usings.Add(typeof(MemoryStream));
        }