AssemblyDefinition(
     AssemblyIdentity name,
     AssemblyEntryPoint entryPoint,
     AssemblyContent content,
     IReadOnlyList <AssemblyDependency> externalDependencies,
     bool hasIntegration)
 {
     Name                 = name;
     EntryPoint           = entryPoint;
     Content              = content;
     ExternalDependencies = externalDependencies;
     HasIntegration       = hasIntegration;
 }
Example #2
0
 public AssemblyDefinition(
     AssemblyIdentity name,
     FilePath location,
     string entryPointType   = null,
     string entryPointMethod = null,
     byte [] peImage         = null,
     byte [] debugSymbols    = null,
     AssemblyDependency [] externalDependencies = null,
     bool hasIntegration = false)
 {
     Name                 = name;
     EntryPoint           = new AssemblyEntryPoint(entryPointType, entryPointMethod);
     Content              = new AssemblyContent(location, peImage, debugSymbols);
     ExternalDependencies = externalDependencies;
     HasIntegration       = hasIntegration;
 }