initial commit
This commit is contained in:
526
MyApp/Clan.cs
Normal file
526
MyApp/Clan.cs
Normal file
@@ -0,0 +1,526 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace FamilyTree
|
||||||
|
{
|
||||||
|
public class Clan
|
||||||
|
{
|
||||||
|
public string ClanName { get; set; }
|
||||||
|
public List<Person> ClanMembers { get; set; }
|
||||||
|
private int NumberOfMembers;
|
||||||
|
|
||||||
|
public int getMembers()
|
||||||
|
{
|
||||||
|
return NumberOfMembers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Clan()
|
||||||
|
{
|
||||||
|
ClanName = "Unknown";
|
||||||
|
ClanMembers = new List<Person>();
|
||||||
|
NumberOfMembers = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddPerson()
|
||||||
|
{
|
||||||
|
Person p = new Person();
|
||||||
|
NameChange(p);
|
||||||
|
PersonSex(p);
|
||||||
|
|
||||||
|
ClanMembers.Add(p);
|
||||||
|
NumberOfMembers++;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeletePerson()
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.Write("\n\nType the refernce number of the charcter you would like to delete: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ClanMembers[count].HasSpouse() == true)
|
||||||
|
{
|
||||||
|
DeleteSpouse(ClanMembers[count]);
|
||||||
|
}
|
||||||
|
if (ClanMembers[count].HasFather() == true)
|
||||||
|
{
|
||||||
|
DeleteFather(ClanMembers[count]);
|
||||||
|
}
|
||||||
|
if (ClanMembers[count].HasMother() == true)
|
||||||
|
{
|
||||||
|
DeleteMother(ClanMembers[count]);
|
||||||
|
}
|
||||||
|
|
||||||
|
RemoveAllChildren(ClanMembers[count]);
|
||||||
|
|
||||||
|
ClanMembers.Remove(ClanMembers[count]);
|
||||||
|
NumberOfMembers--;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void EditPerson()
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.Write("\n\nType the refernce number of the charcter you would like to edit: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool t = true;
|
||||||
|
while (t)
|
||||||
|
{
|
||||||
|
int decision;
|
||||||
|
|
||||||
|
Console.WriteLine("1.\t\tChange Name");
|
||||||
|
Console.WriteLine("2.\t\tChange Sex");
|
||||||
|
Console.WriteLine("3.\t\tAdd Spouse");
|
||||||
|
Console.WriteLine("4.\t\tAdd Father");
|
||||||
|
Console.WriteLine("5.\t\tAdd Mother");
|
||||||
|
Console.WriteLine("6.\t\tAdd Child");
|
||||||
|
Console.WriteLine("7.\t\tDelete Spouse");
|
||||||
|
Console.WriteLine("8.\t\tDelete Father");
|
||||||
|
Console.WriteLine("9.\t\tDelete Mother");
|
||||||
|
Console.WriteLine("10.\t\tDelete Child");
|
||||||
|
//Console.WriteLine("11.\t\tDecendants");
|
||||||
|
Console.WriteLine("11.\t\tExit");
|
||||||
|
Console.Write("\n\nYour selection: ");
|
||||||
|
|
||||||
|
decision = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
switch (decision)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
NameChange(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2:
|
||||||
|
{
|
||||||
|
PersonSex(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 3:
|
||||||
|
{
|
||||||
|
AddSpouse(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 4:
|
||||||
|
{
|
||||||
|
AddFather(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
|
AddMother(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 6:
|
||||||
|
{
|
||||||
|
AddChild(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 7:
|
||||||
|
{
|
||||||
|
DeleteSpouse(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 8:
|
||||||
|
{
|
||||||
|
DeleteFather(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 9:
|
||||||
|
{
|
||||||
|
DeleteMother(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 10:
|
||||||
|
{
|
||||||
|
RemoveChild(ClanMembers[count]);
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
//case 11:
|
||||||
|
// {
|
||||||
|
// Console.WriteLine("Number of Decendants: {0}",Decendants(ClanMembers[count], 0, 0));
|
||||||
|
// Console.WriteLine("\n\n");
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
case 11:
|
||||||
|
{
|
||||||
|
t = false;
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
Console.WriteLine("Wrong input");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//public int Decendants(Person p, int result, int count)
|
||||||
|
//{
|
||||||
|
// if(p.Children.Count == 0)
|
||||||
|
// {
|
||||||
|
// return result;
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// foreach(Person a in p.Children)
|
||||||
|
// {
|
||||||
|
// result += a.Children.Count;
|
||||||
|
// return Decendants(a, result);
|
||||||
|
// }
|
||||||
|
// return Decendants(p.Children[count], result += p.Children.Count, count++);
|
||||||
|
// }
|
||||||
|
|
||||||
|
//}
|
||||||
|
|
||||||
|
public void NameChange(Person p)
|
||||||
|
{
|
||||||
|
Console.Write("First Name: ");
|
||||||
|
p.FirstName = Console.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void NameChange()
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to edit: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.Write("First Name: ");
|
||||||
|
ClanMembers[count].FirstName = Console.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PersonSex(Person p)
|
||||||
|
{
|
||||||
|
Console.Write("What is the person's sex (0: Male or 1: Female): ");
|
||||||
|
p.PersonSex = (Sex)Convert.ToInt32(Console.ReadLine());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PersonSex()
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to edit: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.Write("What is the person's sex (0: Male or 1: Female): ");
|
||||||
|
ClanMembers[count].PersonSex = (Sex)Convert.ToInt32(Console.ReadLine());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PrintClan()
|
||||||
|
{
|
||||||
|
int count = 0;
|
||||||
|
foreach(Person p in ClanMembers)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Refernce #: {0}\t {1}", ClanMembers[count].RefNum, ClanMembers[count].FirstName);
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PrintPerson()
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to print: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.WriteLine("\nRefernce #: {0}\t {1}", ClanMembers[count].RefNum, ClanMembers[count].FirstName);
|
||||||
|
|
||||||
|
Console.WriteLine("Sex: \t{0}", ClanMembers[count].PersonSex);
|
||||||
|
if (ClanMembers[count].HasSpouse() == true)
|
||||||
|
{ Console.WriteLine("Spouse: {0}", ClanMembers[count].Spouse.FirstName); }
|
||||||
|
|
||||||
|
if (ClanMembers[count].HasFather() == true)
|
||||||
|
{ Console.WriteLine("Father: {0}", ClanMembers[count].Father.FirstName); }
|
||||||
|
|
||||||
|
if (ClanMembers[count].HasMother() == true)
|
||||||
|
Console.WriteLine("Mother: {0}", ClanMembers[count].Mother.FirstName);
|
||||||
|
|
||||||
|
if (ClanMembers[count].HasChildren() == true)
|
||||||
|
{
|
||||||
|
int childnum = 0;
|
||||||
|
foreach (Person p in ClanMembers[count].Children)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Children: {0}", ClanMembers[count].Children[childnum].FirstName);
|
||||||
|
childnum++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddSpouse(Person p)
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to add as the spouse: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if(ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
ClanMembers[count].Spouse = p;
|
||||||
|
p.Spouse = ClanMembers[count];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeleteSpouse(Person p)
|
||||||
|
{
|
||||||
|
int refnum = p.Spouse.RefNum;
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
ClanMembers[count].Spouse = null;
|
||||||
|
p.Spouse = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddMother(Person p)
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to add as the mother: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
ClanMembers[count].Children.Add(p);
|
||||||
|
p.Mother = ClanMembers[count];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeleteMother(Person p)
|
||||||
|
{
|
||||||
|
int refnum = p.Mother.RefNum;
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
ClanMembers[count].Children.Remove(p);
|
||||||
|
p.Mother = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddFather(Person p)
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to add as the father: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
ClanMembers[count].Children.Add(p);
|
||||||
|
p.Father = ClanMembers[count];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeleteFather(Person p)
|
||||||
|
{
|
||||||
|
int refnum = p.Father.RefNum;
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
ClanMembers[count].Children.Remove(p);
|
||||||
|
p.Father = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddChild(Person p)
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to add as the child: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.Children.Add(ClanMembers[count]);
|
||||||
|
|
||||||
|
if(p.PersonSex == (Sex)0)
|
||||||
|
{
|
||||||
|
ClanMembers[count].Father = p;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (p.PersonSex == (Sex)1)
|
||||||
|
{
|
||||||
|
ClanMembers[count].Mother = p;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RemoveChild(Person p)
|
||||||
|
{
|
||||||
|
PrintClan();
|
||||||
|
|
||||||
|
Console.WriteLine("\n\nType the refernce number of the charcter you would like to remove as the child: ");
|
||||||
|
int refnum = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
|
||||||
|
int count = 0;
|
||||||
|
while (refnum != 0)
|
||||||
|
{
|
||||||
|
if (ClanMembers[count].RefNum == refnum)
|
||||||
|
{
|
||||||
|
refnum -= ClanMembers[count].RefNum;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.Children.Remove(ClanMembers[count]);
|
||||||
|
|
||||||
|
if (p.PersonSex == (Sex)0)
|
||||||
|
{
|
||||||
|
ClanMembers[count].Father = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (p.PersonSex == (Sex)1)
|
||||||
|
{
|
||||||
|
ClanMembers[count].Mother = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RemoveAllChildren(Person p)
|
||||||
|
{
|
||||||
|
if (p.HasChildren() == true)
|
||||||
|
{
|
||||||
|
foreach (Person a in p.Children)
|
||||||
|
{
|
||||||
|
if (p.PersonSex == (Sex)0)
|
||||||
|
{
|
||||||
|
a.Father = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (p.PersonSex == (Sex)1)
|
||||||
|
{
|
||||||
|
a.Mother = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
8
MyApp/MyApp.csproj
Normal file
8
MyApp/MyApp.csproj
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
66
MyApp/Person.cs
Normal file
66
MyApp/Person.cs
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace FamilyTree
|
||||||
|
{
|
||||||
|
public enum Sex { Male, Female, None }
|
||||||
|
|
||||||
|
public class Person
|
||||||
|
{
|
||||||
|
public readonly int RefNum;
|
||||||
|
public string FirstName { get; set; }
|
||||||
|
public Person Spouse { get; set; }
|
||||||
|
public Person Father { get; set; }
|
||||||
|
public Person Mother { get; set;}
|
||||||
|
public List<Person> Children { get; set; }
|
||||||
|
public Sex PersonSex { get; set; }
|
||||||
|
|
||||||
|
public Person()
|
||||||
|
{
|
||||||
|
FirstName = "Unknown";
|
||||||
|
Spouse = null;
|
||||||
|
Father = null;
|
||||||
|
Mother = null;
|
||||||
|
Children = new List<Person>();
|
||||||
|
PersonSex = (Sex)2;
|
||||||
|
RefNum = RandomNumber(0, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int RandomNumber(int min, int max)
|
||||||
|
{
|
||||||
|
Random random = new Random();
|
||||||
|
return random.Next(min, max);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasChildren()
|
||||||
|
{
|
||||||
|
if (Children.Count == 0)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasFather()
|
||||||
|
{
|
||||||
|
if (Father == null)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasSpouse()
|
||||||
|
{
|
||||||
|
if (Spouse == null)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasMother()
|
||||||
|
{
|
||||||
|
if (Mother == null)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
89
MyApp/Program.cs
Normal file
89
MyApp/Program.cs
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
using System;
|
||||||
|
using FamilyTree;
|
||||||
|
|
||||||
|
namespace MyApp
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void MainUI()
|
||||||
|
{
|
||||||
|
Clan fam = new Clan();
|
||||||
|
Console.WriteLine("Welcome to the Geneology Program");
|
||||||
|
Console.Write("\nPlease give a name for the family name: ");
|
||||||
|
fam.ClanName = Console.ReadLine();
|
||||||
|
|
||||||
|
while(true)
|
||||||
|
{
|
||||||
|
int decision;
|
||||||
|
|
||||||
|
Console.WriteLine("{0}'s Family", fam.ClanName);
|
||||||
|
Console.WriteLine("1.\t\tPrint Family Members");
|
||||||
|
Console.WriteLine("2.\t\tPrint a Family Member");
|
||||||
|
Console.WriteLine("3.\t\tAdd a Family Member");
|
||||||
|
Console.WriteLine("4.\t\tEdit a Family Member");
|
||||||
|
Console.WriteLine("5.\t\tDelete a Family Member");
|
||||||
|
Console.WriteLine("6.\t\tTotal Members in Family");
|
||||||
|
Console.WriteLine("7.\t\tExit");
|
||||||
|
Console.Write("\n\nYour selection: ");
|
||||||
|
decision = Convert.ToInt32(Console.ReadLine());
|
||||||
|
|
||||||
|
switch (decision)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
fam.PrintClan();
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2:
|
||||||
|
{
|
||||||
|
fam.PrintPerson();
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 3:
|
||||||
|
{
|
||||||
|
fam.AddPerson();
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 4:
|
||||||
|
{
|
||||||
|
fam.EditPerson();
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
|
fam.DeletePerson();
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 6:
|
||||||
|
{
|
||||||
|
Console.WriteLine("Number of members: {0}", fam.getMembers());
|
||||||
|
Console.WriteLine("\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 7:
|
||||||
|
{
|
||||||
|
System.Environment.Exit(1);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
Console.WriteLine("Wrong input");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
MainUI();
|
||||||
|
Console.Read();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
MyApp/bin/Debug/net9.0/MyApp
Executable file
BIN
MyApp/bin/Debug/net9.0/MyApp
Executable file
Binary file not shown.
23
MyApp/bin/Debug/net9.0/MyApp.deps.json
Normal file
23
MyApp/bin/Debug/net9.0/MyApp.deps.json
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v9.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v9.0": {
|
||||||
|
"MyApp/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"MyApp.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"MyApp/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
MyApp/bin/Debug/net9.0/MyApp.dll
Normal file
BIN
MyApp/bin/Debug/net9.0/MyApp.dll
Normal file
Binary file not shown.
BIN
MyApp/bin/Debug/net9.0/MyApp.pdb
Normal file
BIN
MyApp/bin/Debug/net9.0/MyApp.pdb
Normal file
Binary file not shown.
12
MyApp/bin/Debug/net9.0/MyApp.runtimeconfig.json
Normal file
12
MyApp/bin/Debug/net9.0/MyApp.runtimeconfig.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net9.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "9.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
23
MyApp/bin/Debug/netcoreapp2.2/MyApp.deps.json
Normal file
23
MyApp/bin/Debug/netcoreapp2.2/MyApp.deps.json
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v2.2",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v2.2": {
|
||||||
|
"MyApp/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"MyApp.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"MyApp/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
MyApp/bin/Debug/netcoreapp2.2/MyApp.dll
Normal file
BIN
MyApp/bin/Debug/netcoreapp2.2/MyApp.dll
Normal file
Binary file not shown.
BIN
MyApp/bin/Debug/netcoreapp2.2/MyApp.pdb
Normal file
BIN
MyApp/bin/Debug/netcoreapp2.2/MyApp.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"additionalProbingPaths": [
|
||||||
|
"/Users/aj/.dotnet/store/|arch|/|tfm|",
|
||||||
|
"/Users/aj/.nuget/packages"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
9
MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.json
Normal file
9
MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "netcoreapp2.2",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "2.2.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||||
22
MyApp/obj/Debug/net9.0/MyApp.AssemblyInfo.cs
Normal file
22
MyApp/obj/Debug/net9.0/MyApp.AssemblyInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
1
MyApp/obj/Debug/net9.0/MyApp.AssemblyInfoInputs.cache
Normal file
1
MyApp/obj/Debug/net9.0/MyApp.AssemblyInfoInputs.cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
20a50587e0173926d0cfa46de068bfeee20cf596c92fffd2b4ebe4590e264b8b
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net9.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = MyApp
|
||||||
|
build_property.ProjectDir = /Users/aj/Developer/Family-Tree/MyApp/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||||
|
build_property.EnableCodeStyleSeverity =
|
||||||
BIN
MyApp/obj/Debug/net9.0/MyApp.assets.cache
Normal file
BIN
MyApp/obj/Debug/net9.0/MyApp.assets.cache
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
e061ef3ac98241c73a826e7ffd90de76256138cb42dd431fb8169f0989801604
|
||||||
15
MyApp/obj/Debug/net9.0/MyApp.csproj.FileListAbsolute.txt
Normal file
15
MyApp/obj/Debug/net9.0/MyApp.csproj.FileListAbsolute.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/net9.0/MyApp
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/net9.0/MyApp.deps.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/net9.0/MyApp.runtimeconfig.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/net9.0/MyApp.dll
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/net9.0/MyApp.pdb
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.AssemblyInfoInputs.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.AssemblyInfo.cs
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.csproj.CoreCompileInputs.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.sourcelink.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.dll
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/refint/MyApp.dll
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.pdb
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/MyApp.genruntimeconfig.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/net9.0/ref/MyApp.dll
|
||||||
BIN
MyApp/obj/Debug/net9.0/MyApp.dll
Normal file
BIN
MyApp/obj/Debug/net9.0/MyApp.dll
Normal file
Binary file not shown.
1
MyApp/obj/Debug/net9.0/MyApp.genruntimeconfig.cache
Normal file
1
MyApp/obj/Debug/net9.0/MyApp.genruntimeconfig.cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
b22cd786ea8daa87b255c6be26d2f5e8f3ce836ead3b52fc968146526fe350b8
|
||||||
BIN
MyApp/obj/Debug/net9.0/MyApp.pdb
Normal file
BIN
MyApp/obj/Debug/net9.0/MyApp.pdb
Normal file
Binary file not shown.
1
MyApp/obj/Debug/net9.0/MyApp.sourcelink.json
Normal file
1
MyApp/obj/Debug/net9.0/MyApp.sourcelink.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"documents":{"/Users/aj/Github Projects/FamilyTree/*":"https://raw.githubusercontent.com/ajouzts/FamilyTree/b822d38c0e47514bf6f7bc33a9d2b0b38dd61c19/*"}}
|
||||||
BIN
MyApp/obj/Debug/net9.0/apphost
Executable file
BIN
MyApp/obj/Debug/net9.0/apphost
Executable file
Binary file not shown.
BIN
MyApp/obj/Debug/net9.0/ref/MyApp.dll
Normal file
BIN
MyApp/obj/Debug/net9.0/ref/MyApp.dll
Normal file
Binary file not shown.
BIN
MyApp/obj/Debug/net9.0/refint/MyApp.dll
Normal file
BIN
MyApp/obj/Debug/net9.0/refint/MyApp.dll
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v2.2", FrameworkDisplayName = ".NET Core 2.2")]
|
||||||
22
MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfo.cs
Normal file
22
MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b822d38c0e47514bf6f7bc33a9d2b0b38dd61c19")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("MyApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
840ede66748a9b66a36c1ea1c8dd0275fa9947068a2459cc426f1e5e64fffffb
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.RootNamespace = MyApp
|
||||||
|
build_property.ProjectDir = /Users/aj/Github Projects/FamilyTree/MyApp/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||||
|
build_property.EffectiveAnalysisLevelStyle =
|
||||||
|
build_property.EnableCodeStyleSeverity =
|
||||||
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.assets.cache
Normal file
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
75891d82dd8bc822085e24da803d4980ce1437bbea4dd9dd414cf4cd529b0080
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
C:/Users/ajouzts/Learning/MyApp/bin/Debug/netcoreapp2.2/MyApp.deps.json
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.json
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.dev.json
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/bin/Debug/netcoreapp2.2/MyApp.dll
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/bin/Debug/netcoreapp2.2/MyApp.pdb
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.csprojAssemblyReference.cache
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.csproj.CoreCompileInputs.cache
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfoInputs.cache
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfo.cs
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.dll
|
||||||
|
C:/Users/ajouzts/Learning/MyApp/obj/Debug/netcoreapp2.2/MyApp.pdb
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/netcoreapp2.2/MyApp.deps.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/netcoreapp2.2/MyApp.runtimeconfig.dev.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/netcoreapp2.2/MyApp.dll
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/bin/Debug/netcoreapp2.2/MyApp.pdb
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.csproj.AssemblyReference.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfoInputs.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.AssemblyInfo.cs
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.csproj.CoreCompileInputs.cache
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.sourcelink.json
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.dll
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.pdb
|
||||||
|
/Users/aj/Github Projects/FamilyTree/MyApp/obj/Debug/netcoreapp2.2/MyApp.genruntimeconfig.cache
|
||||||
Binary file not shown.
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.dll
Normal file
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
ba5f694468d9bb8a087e045bcb41ba7ac7f853b1497780873f44598265febb5c
|
||||||
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.pdb
Normal file
BIN
MyApp/obj/Debug/netcoreapp2.2/MyApp.pdb
Normal file
Binary file not shown.
1
MyApp/obj/Debug/netcoreapp2.2/MyApp.sourcelink.json
Normal file
1
MyApp/obj/Debug/netcoreapp2.2/MyApp.sourcelink.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"documents":{"/Users/aj/Github Projects/FamilyTree/*":"https://raw.githubusercontent.com/ajouzts/FamilyTree/b822d38c0e47514bf6f7bc33a9d2b0b38dd61c19/*"}}
|
||||||
14
MyApp/obj/Debug/netcoreapp2.2/project.razor.json
Normal file
14
MyApp/obj/Debug/netcoreapp2.2/project.razor.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ProjectFilePath": "c:\\Users\\ajouzts\\Learning\\MyApp\\MyApp.csproj",
|
||||||
|
"TargetFramework": "netcoreapp2.2",
|
||||||
|
"TagHelpers": [],
|
||||||
|
"Configuration": {
|
||||||
|
"ConfigurationName": "UnsupportedRazor",
|
||||||
|
"LanguageVersion": "1.0",
|
||||||
|
"Extensions": [
|
||||||
|
{
|
||||||
|
"ExtensionName": "UnsupportedRazorExtension"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
5
MyApp/obj/MyApp.csproj.nuget.cache
Normal file
5
MyApp/obj/MyApp.csproj.nuget.cache
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"dgSpecHash": "iZbGsfHBrPcxqdL+mCzdYP+sU2H7Kgkbn4+Fg7uLKiLVTuTbRjS70CFxsER6DpR6zT928+MWT+l4RHkTvQrCHQ==",
|
||||||
|
"success": true
|
||||||
|
}
|
||||||
68
MyApp/obj/MyApp.csproj.nuget.dgspec.json
Normal file
68
MyApp/obj/MyApp.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj",
|
||||||
|
"projectName": "MyApp",
|
||||||
|
"projectPath": "/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj",
|
||||||
|
"packagesPath": "/Users/aj/.nuget/packages/",
|
||||||
|
"outputPath": "/Users/aj/Github Projects/FamilyTree/MyApp/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/Users/aj/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"/opt/homebrew/Cellar/dotnet/9.0.8/libexec/library-packs": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.100"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.8/libexec/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
15
MyApp/obj/MyApp.csproj.nuget.g.props
Normal file
15
MyApp/obj/MyApp.csproj.nuget.g.props
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/aj/.nuget/packages/</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/aj/.nuget/packages/</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.4</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="/Users/aj/.nuget/packages/" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
2
MyApp/obj/MyApp.csproj.nuget.g.targets
Normal file
2
MyApp/obj/MyApp.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||||
73
MyApp/obj/project.assets.json
Normal file
73
MyApp/obj/project.assets.json
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net9.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net9.0": []
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"/Users/aj/.nuget/packages/": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj",
|
||||||
|
"projectName": "MyApp",
|
||||||
|
"projectPath": "/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj",
|
||||||
|
"packagesPath": "/Users/aj/.nuget/packages/",
|
||||||
|
"outputPath": "/Users/aj/Github Projects/FamilyTree/MyApp/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/Users/aj/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"/opt/homebrew/Cellar/dotnet/9.0.8/libexec/library-packs": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.100"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.8/libexec/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
8
MyApp/obj/project.nuget.cache
Normal file
8
MyApp/obj/project.nuget.cache
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "XYceEQvuw0s=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "/Users/aj/Github Projects/FamilyTree/MyApp/MyApp.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user