NuGet.ManifestVersionUtility.GetPropertyVersion C# (CSharp) Method

GetPropertyVersion() private static method

private static GetPropertyVersion ( PropertyInfo property ) : int
property System.Reflection.PropertyInfo
return int
        private static int GetPropertyVersion(PropertyInfo property)
        {
            var attribute = property.GetCustomAttribute<ManifestVersionAttribute>();
            return attribute != null ? attribute.Version : DefaultVersion;
        }