Skip to content

Commit 0f9a17a

Browse files
committed
Publish to 1.0.0.3
1 parent ec2cdba commit 0f9a17a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/dataneo.TutorialLibs.Domain/Tutorials/Entities/Tutorial.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using dataneo.TutorialLibs.Domain.Translation;
66
using System;
77
using System.Collections.Generic;
8+
using System.Collections.ObjectModel;
89
using System.Linq;
910

1011
namespace dataneo.TutorialLibs.Domain.Tutorials
@@ -17,7 +18,7 @@ public sealed class Tutorial : BaseEntity, IAggregateRoot
1718
public IReadOnlyList<Folder> Folders { get; private set; }
1819

1920
private List<Category> _categories = new List<Category>();
20-
public IReadOnlyList<Category> Categories => _categories;
21+
public IReadOnlyList<Category> Categories => new ReadOnlyCollection<Category>(this._categories);
2122

2223
public DateTime AddDate { get; private set; }
2324
public DateTime ModifiedTime { get; private set; }

src/dataneo.TutorialsLib.WPF/dataneo.TutorialLibs.WPF.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<PackageProjectUrl>https://github.com/dataneodev/TutorialLib</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/dataneodev/TutorialLib</RepositoryUrl>
1313
<Product>TutorialLibs</Product>
14-
<AssemblyVersion>1.0.0.2</AssemblyVersion>
15-
<FileVersion>1.0.0.1</FileVersion>
14+
<AssemblyVersion>1.0.0.3</AssemblyVersion>
15+
<FileVersion>1.0.0.3</FileVersion>
1616
</PropertyGroup>
1717

1818
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

0 commit comments

Comments
 (0)