VersioningHelper 类
定义
提供方法以帮助开发人员编写版本安全的代码。Provides methods to aid developers in writing version-safe code. 此类不能被继承。This class cannot be inherited.
此 API 支持产品基础结构,不能在代码中直接使用。
public ref class VersioningHelper abstract sealed
public static class VersioningHelper
type VersioningHelper = class
Public Class VersioningHelper
- 继承
-
VersioningHelper
注解
此类旨在促进 ResourceConsumptionAttribute 和类的使用 ResourceExposureAttribute 。This class is intended to facilitate the use of the ResourceConsumptionAttribute and ResourceExposureAttribute classes.
方法
| MakeVersionSafeName(String, ResourceScope, ResourceScope) |
此 API 支持产品基础结构,不能在代码中直接使用。 根据指定的资源名称和预期资源消耗源返回版本安全的名称。Returns a version-safe name based on the specified resource name and the intended resource consumption source. |
| MakeVersionSafeName(String, ResourceScope, ResourceScope, Type) |
此 API 支持产品基础结构,不能在代码中直接使用。 根据指定的资源名称、预期资源消耗源以及使用资源的类型返回版本安全的名称。Returns a version-safe name based on the specified resource name, the intended resource consumption scope, and the type using the resource. |