scripts
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Resources
|
||||
{
|
||||
/// <summary>Instructs the <see cref="T:System.Resources.ResourceManager" /> to ask for a particular version of a satellite assembly to simplify updates of the main assembly of an application.</summary>
|
||||
// Token: 0x02000281 RID: 641
|
||||
[AttributeUsage(AttributeTargets.Assembly)]
|
||||
[ComVisible(true)]
|
||||
public sealed class SatelliteContractVersionAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.SatelliteContractVersionAttribute" /> class.</summary>
|
||||
/// <param name="version">A <see cref="T:System.String" /> with the version of the satellite assemblies to load. </param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="version" /> parameter is null. </exception>
|
||||
// Token: 0x0600209C RID: 8348 RVA: 0x000779FC File Offset: 0x00075BFC
|
||||
public SatelliteContractVersionAttribute(string version)
|
||||
{
|
||||
this.ver = new Version(version);
|
||||
}
|
||||
|
||||
/// <summary>Gets the version of the satellite assemblies with the required resources.</summary>
|
||||
/// <returns>A <see cref="T:System.String" /> containing the version of the satellite assemblies with the required resources.</returns>
|
||||
// Token: 0x17000612 RID: 1554
|
||||
// (get) Token: 0x0600209D RID: 8349 RVA: 0x00077A10 File Offset: 0x00075C10
|
||||
public string Version
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ver.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000B87 RID: 2951
|
||||
private Version ver;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user