/// <summary> /// Copies data from another FileRow object. /// </summary> /// <param name="src">An row to get data from.</param> public void CopyFrom(FileRow src) { for (int i = 0; i < src.Fields.Length; i++) { this[i] = src[i]; } this.assemblyManifest = src.assemblyManifest; this.assemblyType = src.assemblyType; this.directory = src.directory; this.diskId = src.diskId; this.fromModule = src.fromModule; this.isGeneratedShortFileName = src.isGeneratedShortFileName; this.patchGroup = src.patchGroup; this.processorArchitecture = src.processorArchitecture; this.source = src.source; this.PreviousSource = src.PreviousSource; this.Operation = src.Operation; this.symbols = src.symbols; this.PreviousSymbols = src.PreviousSymbols; this.patchAttributes = src.patchAttributes; this.retainOffsets = src.retainOffsets; this.retainLengths = src.retainLengths; this.ignoreOffsets = src.ignoreOffsets; this.ignoreLengths = src.ignoreLengths; this.PreviousRetainOffsets = src.PreviousRetainOffsets; this.PreviousRetainLengths = src.PreviousRetainLengths; this.PreviousIgnoreOffsets = src.PreviousIgnoreOffsets; this.PreviousIgnoreLengths = src.PreviousIgnoreLengths; }
/// <summary> /// Creates a File row that belongs to a table. /// </summary> /// <param name="sourceLineNumbers">Original source lines for this row.</param> /// <param name="table">Table this File row belongs to and should get its column definitions from.</param> public FileRow(SourceLineNumberCollection sourceLineNumbers, Table table) : base(sourceLineNumbers, table) { this.assemblyType = FileAssemblyType.NotAnAssembly; this.previousSource = new string[1]; this.previousSymbols = new string[1]; this.previousRetainOffsets = new string[1]; this.previousRetainLengths = new string[1]; this.previousIgnoreOffsets = new string[1]; this.previousIgnoreLengths = new string[1]; }
/// <summary> /// Creates a File row that does not belong to a table. /// </summary> /// <param name="sourceLineNumbers">Original source lines for this row.</param> /// <param name="tableDefinition">TableDefinition this Media row belongs to and should get its column definitions from.</param> public FileRow(SourceLineNumberCollection sourceLineNumbers, TableDefinition tableDefinition) : base(sourceLineNumbers, tableDefinition) { this.assemblyType = FileAssemblyType.NotAnAssembly; this.previousSource = new string[1]; this.previousSymbols = new string[1]; this.previousRetainOffsets = new string[1]; this.previousRetainLengths = new string[1]; this.previousIgnoreOffsets = new string[1]; this.previousIgnoreLengths = new string[1]; }
/// <summary> /// Copies data from another FileRow object. /// </summary> /// <param name="src">An row to get data from.</param> public void CopyFrom(FileRow src) { for (int i = 0; i < src.Fields.Length; i++) { this[i] = src[i]; } this.assemblyManifest = src.assemblyManifest; this.assemblyType = src.assemblyType; this.directory = src.directory; this.diskId = src.diskId; this.fromModule = src.fromModule; this.isGeneratedShortFileName = src.isGeneratedShortFileName; this.patchGroup = src.patchGroup; this.processorArchitecture = src.processorArchitecture; this.source = src.source; }
/// <summary> /// Creates a File row that does not belong to a table. /// </summary> /// <param name="sourceLineNumbers">Original source lines for this row.</param> /// <param name="tableDefinition">TableDefinition this Media row belongs to and should get its column definitions from.</param> public FileRow(SourceLineNumberCollection sourceLineNumbers, TableDefinition tableDefinition) : base(sourceLineNumbers, tableDefinition) { this.assemblyType = FileAssemblyType.NotAnAssembly; }