1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="VersioningHelper" FullName="System.Runtime.Versioning.VersioningHelper">
<TypeSignature Language="C#" Value="public static class VersioningHelper" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit VersioningHelper extends System.Object" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This class is intended to facilitate the use of the <see cref="T:System.Runtime.Versioning.ResourceConsumptionAttribute" /> and <see cref="T:System.Runtime.Versioning.ResourceExposureAttribute" /> classes.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides methods to aid developers in writing version-safe code. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName="MakeVersionSafeName">
<MemberSignature Language="C#" Value="public static string MakeVersionSafeName (string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string MakeVersionSafeName(string name, valuetype System.Runtime.Versioning.ResourceScope from, valuetype System.Runtime.Versioning.ResourceScope to) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="from" Type="System.Runtime.Versioning.ResourceScope" />
<Parameter Name="to" Type="System.Runtime.Versioning.ResourceScope" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The original name is returned with a scope related suffix. The suffix may include the process identity, the current <see cref="T:System.AppDomain" /> identity, or both.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a version-safe name based on the specified resource name and the intended resource consumption source.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A version-safe name.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the resource.</param>
<param name="from">
<attribution license="cc4" from="Microsoft" modified="false" />The scope of the resource.</param>
<param name="to">
<attribution license="cc4" from="Microsoft" modified="false" />The desired resource consumption scope.</param>
</Docs>
</Member>
<Member MemberName="MakeVersionSafeName">
<MemberSignature Language="C#" Value="public static string MakeVersionSafeName (string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to, Type type);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string MakeVersionSafeName(string name, valuetype System.Runtime.Versioning.ResourceScope from, valuetype System.Runtime.Versioning.ResourceScope to, class System.Type type) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="from" Type="System.Runtime.Versioning.ResourceScope" />
<Parameter Name="to" Type="System.Runtime.Versioning.ResourceScope" />
<Parameter Name="type" Type="System.Type" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The original name is returned with a scope related suffix.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a version-safe name based on the specified resource name, the intended resource consumption scope, and the type using the resource.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A version-safe name.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the resource.</param>
<param name="from">
<attribution license="cc4" from="Microsoft" modified="false" />The beginning of the scope range.</param>
<param name="to">
<attribution license="cc4" from="Microsoft" modified="false" />The end of the scope range.</param>
<param name="type">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> of the resource.</param>
</Docs>
</Member>
</Members>
</Type>
|