...
This commit is contained in:
parent
8c472a6f5f
commit
345c787e06
12 changed files with 34 additions and 29 deletions
|
|
@ -10,8 +10,20 @@ using RestSharp;
|
|||
using RestSharp.Deserializers;
|
||||
using System.Linq;
|
||||
|
||||
|
||||
namespace GoogleTranslateNET
|
||||
{
|
||||
public class NoSevrerSideImplementationAttribute : Attribute
|
||||
{
|
||||
public string Reason { get ; private set; }
|
||||
public NoSevrerSideImplementationAttribute(string reason) : base()
|
||||
{
|
||||
Reason = reason;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[NoSevrerSideImplementation("none")]
|
||||
public class GoogleTranslate
|
||||
{
|
||||
private string _key;
|
||||
|
|
@ -193,4 +205,4 @@ namespace GoogleTranslateNET
|
|||
return "There was an error. Unable to determine the cause.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
"defaultNamespace": "Yavsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "6.0.0",
|
||||
"Newtonsoft.Json": "6.0.1-beta1",
|
||||
"Gapi.net45": "1.0.1",
|
||||
"RestSharp": "103.4.0"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue