Compare commits
4
Commits
53e2e7473d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43227af8b2 | ||
|
|
70bcd658ed | ||
|
|
a8a129c2bc | ||
|
|
2817e62d93 |
@@ -1,13 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using xCommons.Extensions;
|
||||||
|
using xMessageService.Models;
|
||||||
|
using xMessageService.Constants;
|
||||||
|
using xMessageService.Providers;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using xMessageService.Interfaces;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using xCommons.Extensions;
|
|
||||||
using xMessageService.Constants;
|
|
||||||
using xMessageService.Interfaces;
|
|
||||||
using xMessageService.Models;
|
|
||||||
using xMessageService.Providers;
|
|
||||||
|
|
||||||
namespace xMessageService.DI {
|
namespace xMessageService.DI {
|
||||||
public static partial class XDIHelperExtension {
|
public static partial class XDIHelperExtension {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using xModels.Base;
|
using xModels.Base;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace xMessageService.Models {
|
namespace xMessageService.Models {
|
||||||
public partial class XMessage : XBaseDto {
|
public partial class XMessage : XBaseDto {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Mail;
|
using System.Net.Mail;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xExceptions.Constants;
|
using xExceptions.Constants;
|
||||||
using xMessageService.Interfaces;
|
using System.Threading.Tasks;
|
||||||
using xMessageService.Models;
|
using xMessageService.Models;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using xMessageService.Interfaces;
|
||||||
|
|
||||||
namespace xMessageService.Providers {
|
namespace xMessageService.Providers {
|
||||||
public partial class XMailService : IXMailService {
|
public partial class XMailService : IXMailService {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xExceptions.Constants;
|
using xExceptions.Constants;
|
||||||
using xMessageService.Interfaces;
|
using System.Threading.Tasks;
|
||||||
using xMessageService.Models;
|
using xMessageService.Models;
|
||||||
|
using xMessageService.Interfaces;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace xMessageService.Providers {
|
namespace xMessageService.Providers {
|
||||||
public partial class XMessageProvider : IXMessageProvider {
|
public partial class XMessageProvider : IXMessageProvider {
|
||||||
@@ -62,6 +62,9 @@ namespace xMessageService.Providers {
|
|||||||
/// Send SMS Message
|
/// Send SMS Message
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="message"></param>
|
/// <param name="message"></param>
|
||||||
|
/// <param name="provider"></param>
|
||||||
|
/// <param name="throwException"></param>
|
||||||
|
/// <param name="exception"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task SendSmsAsync (
|
public async Task SendSmsAsync (
|
||||||
XMessage message,
|
XMessage message,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using PhoneNumbers;
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
using PhoneNumbers;
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xExceptions.Constants;
|
using xExceptions.Constants;
|
||||||
using xMessageService.Interfaces;
|
using System.Threading.Tasks;
|
||||||
using xMessageService.Models;
|
using xMessageService.Models;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using xMessageService.Interfaces;
|
||||||
|
|
||||||
namespace xMessageService.Providers {
|
namespace xMessageService.Providers {
|
||||||
public partial class XSmsService : IXSmsService {
|
public partial class XSmsService : IXSmsService {
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
<packageSources>
|
<packageSources>
|
||||||
<!-- <add key="megan" value="https://hub.megan.ir/nuget/index.json" /> -->
|
<!-- <add key="megan" value="https://hub.megan.ir/nuget/index.json" /> -->
|
||||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||||
<add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" disableTLSCertificateValidation="true" />
|
<!-- <add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" disableTLSCertificateValidation="true" /> -->
|
||||||
</packageSources>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<!-- Icon Handling -->
|
<!-- Icon Handling -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="../../Resources/Images/favicon.png" Link="icon.png" Pack="true"
|
<None Include="../../Documents/Resources/Images/favicon.png" Link="icon.png" Pack="true"
|
||||||
PackagePath="\icon.png" />
|
PackagePath="\icon.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
@@ -39,9 +39,9 @@
|
|||||||
|
|
||||||
<!-- For XML Documentation Support -->
|
<!-- For XML Documentation Support -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
||||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||||
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user