Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nikita Kums
csharp_2018fall_daytime
Commits
814a1a99
Commit
814a1a99
authored
Sep 28, 2018
by
Andres Käver
Browse files
initial
parent
e8b52ed7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Domain/Contact.cs
0 → 100644
View file @
814a1a99
namespace
Domain
{
public
class
Contact
{
public
string
ContactValue
{
get
;
set
;
}
public
Contact
(
Person
person
,
ContactType
contactType
)
{
Person
=
person
;
ContactType
=
contactType
;
}
public
Person
Person
{
get
;
set
;
}
public
ContactType
ContactType
{
get
;
set
;
}
}
}
\ No newline at end of file
Domain/ContactType.cs
0 → 100644
View file @
814a1a99
using
System.Collections.Generic
;
namespace
Domain
{
public
class
ContactType
{
public
string
ContactTypeValue
{
get
;
set
;
}
public
List
<
Contact
>
Contacts
{
get
;
set
;
}
=
new
List
<
Contact
>();
}
}
\ No newline at end of file
Domain/Domain.csproj
0 → 100644
View file @
814a1a99
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
</Project>
Domain/Person.cs
0 → 100644
View file @
814a1a99
using
System
;
using
System.Collections.Generic
;
namespace
Domain
{
public
class
Person
{
public
string
FirstName
{
get
;
set
;
}
public
string
LastName
{
get
;
set
;
}
public
List
<
Contact
>
Contacts
{
get
;
set
;
}
=
new
List
<
Contact
>();
}
}
\ No newline at end of file
Prax_2018fall_daytime.sln
View file @
814a1a99
...
...
@@ -2,6 +2,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp", "ConsoleApp\ConsoleApp.csproj", "{817E622D-30ED-426F-BA78-C34D66E0CDB1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Domain", "Domain\Domain.csproj", "{EC36D18E-BAAD-445E-B60A-3F34642B96E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -12,5 +14,9 @@ Global
{817E622D-30ED-426F-BA78-C34D66E0CDB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{817E622D-30ED-426F-BA78-C34D66E0CDB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{817E622D-30ED-426F-BA78-C34D66E0CDB1}.Release|Any CPU.Build.0 = Release|Any CPU
{EC36D18E-BAAD-445E-B60A-3F34642B96E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC36D18E-BAAD-445E-B60A-3F34642B96E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC36D18E-BAAD-445E-B60A-3F34642B96E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC36D18E-BAAD-445E-B60A-3F34642B96E2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment