Skip to content

Commit 507cd90

Browse files
committed
Initial commit
0 parents  commit 507cd90

35 files changed

+4470
-0
lines changed

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
obj
2+
bin
3+
deploy
4+
*.csproj.user
5+
*.suo
6+
*.cache
7+
*.nupkg
8+
~$*
9+
*~
10+
*ReSharper*
11+
*.swp
12+
*.testsettings
13+
TestResults/*
14+
*.dbmdl
15+
Releases/2*
16+
*.pidb
17+
*.docstates
18+
test-results
19+
apply_config.bat
20+
NDependOut
21+
*.dotCover
22+
*_mm_cache.bin
23+
Simple.Data.sln.DotSettings.user
24+
Simple.Data/Simple.Data.idc
25+
.DS_Store
26+
mono-release-*
27+
*ncrunch*
28+
MediumTrustApp
29+
nohup.out
30+
packages/EntityFramework.5.0.0/
31+
packages/Microsoft.AspNet.Mvc.3.0.20105.1/
32+
packages/Microsoft.AspNet.Providers.Core.1.1/
33+
packages/Microsoft.AspNet.Providers.LocalDB.1.1/
34+
packages/Microsoft.AspNet.Razor.1.0.20105.408/
35+
packages/Microsoft.AspNet.WebPages.1.0.20105.408/
36+
packages/Microsoft.Web.Infrastructure.1.0.0.0/
37+
packages/Modernizr.2.5.3/
38+
packages/jQuery.1.7.1.1/
39+
packages/jQuery.UI.Combined.1.8.20.1/
40+
packages/jQuery.Validation.1.9.0.1/
41+
XmlMap.sln.DotSettings.user
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("XmlMapper.Test")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("XmlMapper.Test")]
13+
[assembly: AssemblyCopyright("Copyright © 2012")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("dcf3f7a1-9412-43ef-98ee-91420fb086f2")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

XMap.Test/TestTypes/Agency.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace XMap.Test.TestTypes
2+
{
3+
public class Agency
4+
{
5+
public string Name { get; set; }
6+
public Country Country { get; set; }
7+
}
8+
9+
public enum Country
10+
{
11+
Belgium,
12+
China,
13+
USA,
14+
}
15+
}

XMap.Test/TestTypes/Astronaut.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace XMap.Test.TestTypes
2+
{
3+
public class Astronaut
4+
{
5+
public string Name { get; set; }
6+
}
7+
}

XMap.Test/TestTypes/Spaceship.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace XMap.Test.TestTypes
2+
{
3+
using System;
4+
using System.Collections.Generic;
5+
6+
public class Spaceship
7+
{
8+
public string Name { get; set; }
9+
public int Year { get; set; }
10+
public DateTime FirstLaunch { get; set; }
11+
public Agency Owner { get; set; }
12+
public List<Astronaut> Crew { get; set; }
13+
public Astronaut[] CrewArray { get; set; }
14+
}
15+
}

XMap.Test/XMap.Test.csproj

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{7E6BAF42-B057-4D56-ABEE-5A8A1E678B92}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>XMap.Test</RootNamespace>
11+
<AssemblyName>XMap.Test</AssemblyName>
12+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkProfile />
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="System" />
35+
<Reference Include="System.Core" />
36+
<Reference Include="System.Xml.Linq" />
37+
<Reference Include="System.Data.DataSetExtensions" />
38+
<Reference Include="Microsoft.CSharp" />
39+
<Reference Include="System.Data" />
40+
<Reference Include="System.Xml" />
41+
<Reference Include="xunit">
42+
<HintPath>..\packages\xunit.1.9.1\lib\net20\xunit.dll</HintPath>
43+
</Reference>
44+
</ItemGroup>
45+
<ItemGroup>
46+
<Compile Include="TestTypes\Agency.cs" />
47+
<Compile Include="TestTypes\Astronaut.cs" />
48+
<Compile Include="TestTypes\Spaceship.cs" />
49+
<Compile Include="XmlMapperToObjectTests.cs" />
50+
<Compile Include="Properties\AssemblyInfo.cs" />
51+
<Compile Include="XmlMapperToXmlTests.cs" />
52+
</ItemGroup>
53+
<ItemGroup>
54+
<None Include="packages.config" />
55+
</ItemGroup>
56+
<ItemGroup>
57+
<ProjectReference Include="..\XMap\XMap.csproj">
58+
<Project>{D604E970-3FB5-4FEF-BCCE-401E10E1C19C}</Project>
59+
<Name>XmlMapper</Name>
60+
</ProjectReference>
61+
</ItemGroup>
62+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
63+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
64+
Other similar extension points exist, see Microsoft.Common.targets.
65+
<Target Name="BeforeBuild">
66+
</Target>
67+
<Target Name="AfterBuild">
68+
</Target>
69+
-->
70+
</Project>

0 commit comments

Comments
 (0)