Skip to content

Commit

Permalink
Added base classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
twcrews committed Jul 24, 2022
0 parents commit 36a4533
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### DotnetCore ###
# .NET Core build folders
bin/
obj/

# Common node modules locations
/node_modules
/wwwroot/node_modules
13 changes: 13 additions & 0 deletions Cipher.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>Crews.Web.Cipher</PackageId>
<Version>0.1.0</Version>
<Authors>Tommy Crews</Authors>
<Company>Crews Development</Company>
</PropertyGroup>

</Project>
5 changes: 5 additions & 0 deletions HtmlDocument.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Crews.Web.Cipher;
public class HtmlDocument
{
public List<HtmlElement> Elements { get; set; } = new();
}
9 changes: 9 additions & 0 deletions HtmlElement.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Crews.Web.Cipher;

public abstract class HtmlElement
{
private string _name;

public List<HtmlElement> Children = new();
public HtmlElement(string name) => _name = name;
}

0 comments on commit 36a4533

Please sign in to comment.