예제 #1
0
파일: PexReader.cs 프로젝트: madawe/Paprus
 /// <summary>
 ///     Sets the version target.
 /// </summary>
 /// <param name="papyrusVersionTarget">The papyrus version target.</param>
 public void SetVersionTarget(PapyrusVersionTargets papyrusVersionTarget)
 {
     this.PapyrusVersionTarget = papyrusVersionTarget;
 }
예제 #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="PapyrusAssemblyDefinition" /> class.
 /// </summary>
 /// <param name="versionTarget">The version target.</param>
 internal PapyrusAssemblyDefinition(PapyrusVersionTargets versionTarget) : this()
 {
     VersionTarget = versionTarget;
 }
예제 #3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ClrAssemblyInput" /> class.
 /// </summary>
 /// <param name="asm">The asm.</param>
 /// <param name="targetPapyrusVersion">The target papyrus version.</param>
 public ClrAssemblyInput(AssemblyDefinition asm, PapyrusVersionTargets targetPapyrusVersion)
 {
     Assembly             = asm;
     TargetPapyrusVersion = targetPapyrusVersion;
 }
예제 #4
0
 /// <summary>
 ///     Creates the assembly.
 /// </summary>
 /// <param name="versionTarget">The version target.</param>
 /// <returns></returns>
 public static PapyrusAssemblyDefinition CreateAssembly(PapyrusVersionTargets versionTarget)
 {
     return(new PapyrusAssemblyDefinition(versionTarget));
 }