コード例 #1
0
 public AssemblyDefinition(
     AssemblyName name,
     FilePath location,
     string entryPointType   = null,
     string entryPointMethod = null,
     byte [] peImage         = null,
     byte [] debugSymbols    = null,
     AssemblyDependency [] externalDependencies = null,
     bool hasIntegration = false)
 {
     Name                 = new RepresentedAssemblyName(name);
     EntryPoint           = new AssemblyEntryPoint(entryPointType, entryPointMethod);
     Content              = new AssemblyContent(location, peImage, debugSymbols);
     ExternalDependencies = externalDependencies;
     HasIntegration       = hasIntegration;
 }
コード例 #2
0
 public ResultItem(RepresentedAssemblyName assemblyName, bool success, bool initializedAgentIntegration)
 {
     AssemblyName = assemblyName ?? throw new ArgumentNullException(nameof(assemblyName));
     Success      = success;
     InitializedAgentIntegration = initializedAgentIntegration;
 }