internal MergeSettings(MergeReferences references, MergeUsings usings, MergeFields fields, MergeMethods methods) { _references = references; _usings = usings; _fields = fields; _methods = methods; }
internal MergeReferences Clone() { MergeReferences references = new MergeReferences(); foreach (string reference in _references) { references._references.Add(reference); } return(references); }
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)); }