/// <summary> /// Sets the version target. /// </summary> /// <param name="papyrusVersionTarget">The papyrus version target.</param> public void SetVersionTarget(PapyrusVersionTargets papyrusVersionTarget) { this.PapyrusVersionTarget = papyrusVersionTarget; }
/// <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; }
/// <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; }
/// <summary> /// Creates the assembly. /// </summary> /// <param name="versionTarget">The version target.</param> /// <returns></returns> public static PapyrusAssemblyDefinition CreateAssembly(PapyrusVersionTargets versionTarget) { return(new PapyrusAssemblyDefinition(versionTarget)); }