@@ -62,10 +62,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="IpV4AddressAttribute.cs" />
+ <Compile Include="IpAddressAttribute.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
+ <None Include="package.nuspec" />
<None Include="packages.config" />
@@ -5,9 +5,9 @@
using System.Net;
using System.Web.Mvc;
- public class IpV4AddressAttribute : RegularExpressionAttribute, IClientValidatable
+ public class IpAddressAttribute : RegularExpressionAttribute, IClientValidatable
{
- public IpV4AddressAttribute()
+ public IpAddressAttribute()
: base(@"^([\d]{1,3}\.){3}[\d]{1,3}$")
}
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<package>
+ <metadata>
+ <!--*-->
+ <id>CommonLibrary</id>
+ <version>1.0.0</version>
+ <title>CommonLibrary</title>
+ <authors>SKZH</authors>
+ <owners>SKZH</owners>
+ <!--
+ <licenseUrl></licenseUrl>
+ <projectUrl></projectUrl>
+ <iconUrl></iconUrl>
+-->
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>SKZH Common Library</description>
+ <releaseNotes>SKZH Common Library</releaseNotes>
+ <copyright>Copyright © Microsoft 2018</copyright>
+ <tags>
+ </tags>
+ <dependencies>
+ <dependency id="SampleDependency" version="1.0" />
+ </dependencies>
+ </metadata>
+</package>