Sample: .cs const declaration

From dbscript Online Help
Jump to: navigation, search

This sample is a C# const declaration based on dbscript's XslType table:

public static class XslType
{
	/// <summary>
	/// Object
	/// </summary>
	public const int Object = 1;
	/// <summary>
	/// Project Version
	/// </summary>
	public const int ProjectVersion = 2;
	/// <summary>
	/// Value Script
	/// </summary>
	public const int ValueScript = 3;
}