Commit 4c04c598 authored by Andres Käver's avatar Andres Käver

initial

parents
node_modules
# osx gitignore
# https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# https://github.com/dotnet/core/blob/master/.gitignore
*.swp
*.*~
project.lock.json
.DS_Store
*.pyc
nupkg/
# Visual Studio Code
.vscode
# Rider
.idea
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
msbuild.log
msbuild.err
msbuild.wrn
# Visual Studio 2015
.vs/
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>com.akaver.sportmap.Contracts.Domain</AssemblyName>
<RootNamespace>com.akaver.sportmap.Contracts.Domain</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" />
</ItemGroup>
</Project>
using System;
namespace com.akaver.sportmap.Contracts.Domain
{
public interface IDomainEntityId : IDomainEntityId<Guid>
{
}
public interface IDomainEntityId<TKey>
where TKey: IEquatable<TKey>
{
TKey Id { get; set; }
}
}
\ No newline at end of file
using System;
namespace com.akaver.sportmap.Contracts.Domain
{
public interface IDomainEntityMetadata
{
string? CreatedBy { get; set; }
DateTime CreatedAt { get; set; }
string? ChangedBy { get; set; }
DateTime ChangedAt { get; set; }
}
}
\ No newline at end of file
using System;
using Microsoft.AspNetCore.Identity;
namespace com.akaver.sportmap.Contracts.Domain
{
public interface IDomainEntityUser<TUser> : IDomainEntityUser<Guid, TUser>
where TUser : IdentityUser<Guid>
{
}
public interface IDomainEntityUser<TKey, TUser>
where TKey : IEquatable<TKey>
where TUser : IdentityUser<TKey>
{
public TKey AppUserId { get; set; }
public TUser? AppUser { get; set; }
}
}
\ No newline at end of file
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<WarningsAsErrors>CS8600;CS8602;CS8603;CS8613;CS8618;CS8625</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>1.0.0</PackageVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
</Project>
#!/bin/sh
nuget push -Source https://api.nuget.org/v3/index.json -ApiKey oy2poa5z3im57pqrqmmaf5b2w6xjn7fe7dvzjobbzdnyc4 /Users/akaver/Development/SportMap/sportmap-net-base/Contracts.Domain/bin/Release/com.akaver.sportmap.Contracts.Domain.1.0.0.nupkg

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contracts.Domain", "Contracts.Domain\Contracts.Domain.csproj", "{E43DFD5B-51A2-4103-AEB3-54A6785148A1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{51466F5A-E8FF-4E01-99F2-C8D56871169F}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
publish_nuget.sh = publish_nuget.sh
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E43DFD5B-51A2-4103-AEB3-54A6785148A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E43DFD5B-51A2-4103-AEB3-54A6785148A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E43DFD5B-51A2-4103-AEB3-54A6785148A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E43DFD5B-51A2-4103-AEB3-54A6785148A1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment