Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update packages #19

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.14</Version>
<Version>0.0.0.15</Version>
<Description>ordering UI compoents.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>component,microcomponent,ui,core,order,ordering</PackageTags>
Expand All @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MudBlazor" Version="6.11.1" />
<PackageReference Include="MudBlazor" Version="6.11.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.14</Version>
<Version>0.0.0.15</Version>
<Description>ordering view model.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>mvvm,viewmodel,viewmodels,modelviewviewmodel,ui,core,order,ordering</PackageTags>
Expand All @@ -19,8 +19,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="EasyMicroservices.OrderingMicroservice.Clients" Version="0.0.0.8" />
<PackageReference Include="EasyMicroservices.UI.Cores.Mvvm" Version="0.0.0.9" />
<PackageReference Include="EasyMicroservices.OrderingMicroservice.Clients" Version="0.0.0.10" />
<PackageReference Include="EasyMicroservices.UI.Cores.Mvvm" Version="0.0.0.13" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@

namespace EasyMicroservices.UI.Ordering.ViewModels.CountingUnits
{
public class AddOrUpdateCountingUnitViewModel : BaseViewModel

Check warning on line 8 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel'

Check warning on line 8 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel'
{
public AddOrUpdateCountingUnitViewModel(CountingUnitClient countingUnitClient)

Check warning on line 10 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.AddOrUpdateCountingUnitViewModel(CountingUnitClient)'

Check warning on line 10 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.AddOrUpdateCountingUnitViewModel(CountingUnitClient)'
{
_countingUnitClient = countingUnitClient;
SaveCommand = new TaskRelayCommand(this, Save);
Clear();
}

public TaskRelayCommand SaveCommand { get; set; }

Check warning on line 17 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.SaveCommand'

Check warning on line 17 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.SaveCommand'

readonly CountingUnitClient _countingUnitClient;

public Action OnSuccess { get; set; }

Check warning on line 21 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.OnSuccess'

Check warning on line 21 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.OnSuccess'
CountingUnitContract _UpdateCountingUnitContract;
/// <summary>
/// for update
Expand All @@ -40,7 +40,7 @@
}

string _Name;
public string Name

Check warning on line 43 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Name'

Check warning on line 43 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Name'
{
get => _Name;
set
Expand All @@ -52,7 +52,7 @@


decimal _PriceAmount;
public decimal PriceAmount

Check warning on line 55 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.PriceAmount'

Check warning on line 55 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.PriceAmount'
{
get => _PriceAmount;
set
Expand All @@ -62,7 +62,7 @@
}
}

public async Task Save()

Check warning on line 65 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Save()'

Check warning on line 65 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Save()'
{
if (UpdateCountingUnitContract is not null)
await UpdateCountingUnit();
Expand All @@ -71,7 +71,7 @@
OnSuccess?.Invoke();
}

public async Task AddCountingUnit()

Check warning on line 74 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.AddCountingUnit()'

Check warning on line 74 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.AddCountingUnit()'
{
await _countingUnitClient.AddAsync(new CreateCountingUnitRequestContract()
{
Expand All @@ -80,17 +80,7 @@
Clear();
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}

public async Task UpdateCountingUnit()

Check warning on line 83 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.UpdateCountingUnit()'

Check warning on line 83 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.UpdateCountingUnit()'
{
await _countingUnitClient.UpdateChangedValuesOnlyAsync(new UpdateCountingUnitRequestContract()
{
Expand All @@ -117,7 +107,7 @@
};
}

public void Clear()

Check warning on line 110 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Clear()'

Check warning on line 110 in src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCountingUnitViewModel.Clear()'
{
Name = "";
PriceAmount = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private async Task Search()
IsDeleted = false,
Index = Index,
Length = Length,
SortColumnNames = SortColumnNames
}).AsCheckedResult(x => (x.Result, x.TotalCount));

CountingUnits.Clear();
Expand All @@ -68,16 +67,6 @@ await _countingUnitClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract
CountingUnits.Remove(contract);
OnDelete?.Invoke(contract);
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,5 @@ await _orderClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract()
Orders.Remove(contract);
OnDelete?.Invoke(contract);
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ await _productClient.AddAsync(new CreateProductRequestContract()
Clear();
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}

public async Task UpdateProduct()
{
await _productClient.UpdateChangedValuesOnlyAsync(new UpdateProductRequestContract()
Expand Down Expand Up @@ -184,7 +174,7 @@ public async Task LoadConfig()
{
var items = await _countingUnitClient.GetAllByLanguageAsync(new GetByLanguageRequestContract()
{
Language = "fa-IR"
LanguageShortName = "fa-IR"
}).AsCheckedResult(x => x.Result);
CountingUnits = items;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private async Task Search()
IsDeleted = false,
Index = Index,
Length = Length,
SortColumnNames = SortColumnNames
}).AsCheckedResult(x => (x.Result, x.TotalCount));

Products.Clear();
Expand All @@ -68,16 +67,6 @@ await _productClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract()
Products.Remove(contract);
OnDelete?.Invoke(contract);
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}
}
}