PERWAPI.AssemblyRef.AssemblyString C# (CSharp) Méthode

AssemblyString() private méthode

private AssemblyString ( ) : string
Résultat string
        internal string AssemblyString()
        {
            string result = name;
            if (hasVersion)
                result = result + ", Version=" + major + "." + minor + "." +
                    build + "." + revision;
            if (keyBytes != null) {
                string tokenStr = "=";
                if (isKeyToken) tokenStr = "Token=";
                result = result + ", PublicKey" + tokenStr;
                for (int i=0; i < keyBytes.Length; i++) {
                    result = result + Hex.Byte(keyBytes[i]);
                }
            }
            if (culture != null)
                result = result + ", Culture=" + culture;
            return result;
        }