本文整理匯總了C#中System.UInt64.UInt64VersiontoString方法的典型用法代碼示例。如果您正苦於以下問題:C# UInt64.UInt64VersiontoString方法的具體用法?C# UInt64.UInt64VersiontoString怎麽用?C# UInt64.UInt64VersiontoString使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類System.UInt64
的用法示例。
在下文中一共展示了UInt64.UInt64VersiontoString方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: Package
internal Package(string name, string architecture, UInt64 version, string publicKeyToken, string productCode)
{
Name = name;
Version = version;
Architecture = architecture;
PublicKeyToken = publicKeyToken;
ProductCode = productCode;
Dependencies.CollectionChanged += (x, y) => Changed();
_canonicalName = new Lazy<string>(() => "{0}-{1}-{2}-{3}".format(Name, Version.UInt64VersiontoString(), Architecture, PublicKeyToken).ToLowerInvariant());
_cosmeticName = new Lazy<string>(() => "{0}-{1}-{2}".format(Name, Version.UInt64VersiontoString(), Architecture).ToLowerInvariant());
_generalName = new Lazy<string>(() => "{0}-{1}".format(Name, PublicKeyToken).ToLowerInvariant());
Publisher = new Party() {
Name = string.Empty,
Url = string.Empty,
Email = string.Empty
};
LoadCachedInfo();
}