Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions GitVersionConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mode: ContinuousDeployment
branches: {}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# CR.ViewModels.Core
# PharmaxoScientific.ViewModels.Core

A package containing .NET interfaces for reading/writing CQRS ViewModels in a generic way.
4 changes: 2 additions & 2 deletions src/ViewModels.Core.Tests/InMemoryViewModelRepositoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Tests
namespace PharmaxoScientific.ViewModels.Core.Tests
{
using CorshamScience.ViewModels.Core;
using NUnit.Framework;
using PharmaxoScientific.ViewModels.Core;

/// <inheritdoc />
[TestFixture]
Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core.Tests/TestEntity1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Tests
namespace PharmaxoScientific.ViewModels.Core.Tests
{
using System;

Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core.Tests/TestEntity2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Tests
namespace PharmaxoScientific.ViewModels.Core.Tests
{
using System;

Expand Down
6 changes: 3 additions & 3 deletions src/ViewModels.Core.Tests/ViewModelRepositoryTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Tests
namespace PharmaxoScientific.ViewModels.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CorshamScience.ViewModels.Core;
using CorshamScience.ViewModels.Core.Exceptions;
using NUnit.Framework;
using PharmaxoScientific.ViewModels.Core;
using PharmaxoScientific.ViewModels.Core.Exceptions;

/// <summary>
/// A Test Fixture for a View Model Repository.
Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core.Tests/ViewModels.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RootNamespace>CorshamScience.ViewModels.Core.Tests</RootNamespace>
<RootNamespace>PharmaxoScientific.ViewModels.Core.Tests</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core/Exceptions/DuplicateKeyException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Exceptions
namespace PharmaxoScientific.ViewModels.Core.Exceptions
{
using System;
using System.Runtime.Serialization;
Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core/Exceptions/EntityNotFoundException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core.Exceptions
namespace PharmaxoScientific.ViewModels.Core.Exceptions
{
using System;
using System.Runtime.Serialization;
Expand Down
2 changes: 1 addition & 1 deletion src/ViewModels.Core/IViewModelReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core
namespace PharmaxoScientific.ViewModels.Core
{
using System;
using System.Linq;
Expand Down
4 changes: 2 additions & 2 deletions src/ViewModels.Core/IViewModelWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core
namespace PharmaxoScientific.ViewModels.Core
{
using System;
using System.Linq.Expressions;
using CorshamScience.ViewModels.Core.Exceptions;
using PharmaxoScientific.ViewModels.Core.Exceptions;

/// <summary>
/// An interface that will be extended by any class that allows for writing view models.
Expand Down
4 changes: 2 additions & 2 deletions src/ViewModels.Core/InMemoryViewModelRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CorshamScience.ViewModels.Core
namespace PharmaxoScientific.ViewModels.Core
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CorshamScience.ViewModels.Core.Exceptions;
using PharmaxoScientific.ViewModels.Core.Exceptions;

/// <inheritdoc cref="IViewModelReader"/>
/// <inheritdoc cref="IViewModelWriter"/>
Expand Down
16 changes: 8 additions & 8 deletions src/ViewModels.Core/ViewModels.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>CorshamScience.ViewModels.Core</AssemblyName>
<RootNamespace>CorshamScience.ViewModels.Core</RootNamespace>
<PackageId>CorshamScience.ViewModels.Core</PackageId>
<Authors>Corsham Science</Authors>
<Company>Corsham Science</Company>
<AssemblyName>PharmaxoScientific.ViewModels.Core</AssemblyName>
<RootNamespace>PharmaxoScientific.ViewModels.Core</RootNamespace>
<PackageId>PharmaxoScientific.ViewModels.Core</PackageId>
<Authors>Pharmaxo Scientific</Authors>
<Company>Pharmaxo Scientific</Company>
<Product>CorshamScience.ViewModels</Product>
<Copyright>Corsham Science 2019</Copyright>
<Copyright>Pharmaxo Scientific 2025</Copyright>
<Description>A package containing .NET interfaces for reading/writing CQRS ViewModels in a generic way.</Description>
<PackageProjectUrl>https://github.com/qphl/ViewModels.Core</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/qphl/ViewModels.Core/master/logo.png</PackageIconUrl>
Expand All @@ -21,13 +21,13 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard2.0\CorshamScience.ViewModels.Core.xml</DocumentationFile>
<DocumentationFile>bin\Debug\netstandard2.0\PharmaxoScientific.ViewModels.Core.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<DocumentationFile>bin\Release\netstandard2.0\CorshamScience.ViewModels.Core.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard2.0\PharmaxoScientific.ViewModels.Core.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down