Browse Source

Minor refactoring.

pull/194/head
Halil İbrahim Kalkan 9 years ago
parent
commit
135e952ce8
  1. 2
      src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/RepositoryBase.cs
  2. 2
      src/Volo.Abp.Threading/Volo.Abp.Threading.csproj.DotSettings

2
src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/RepositoryBase.cs

@ -26,7 +26,7 @@ namespace Volo.Abp.Domain.Repositories
public abstract List<TEntity> GetList();
public virtual Task<List<TEntity>> GetListAsync(CancellationToken cancellationToken = new CancellationToken())
public virtual Task<List<TEntity>> GetListAsync(CancellationToken cancellationToken = default)
{
return Task.FromResult(GetList());
}

2
src/Volo.Abp.Threading/Volo.Abp.Threading.csproj.DotSettings

@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">CSharp71</s:String></wpf:ResourceDictionary>
Loading…
Cancel
Save