コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XamarinSpellingException"/> class.
 /// </summary>
 /// <param name="code">The code.</param>
 /// <param name="apiErrorModel">The API error model.</param>
 public XamarinSpellingException(XamarinSpellingExceptionCode code, ApiErrorModel apiErrorModel) : base(code.ToString())
 {
     this.Code     = code;
     this.ApiError = apiErrorModel;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XamarinSpellingException"/> class.
 /// </summary>
 /// <param name="code">The code.</param>
 public XamarinSpellingException(XamarinSpellingExceptionCode code) : base(code.ToString())
 {
     this.Code = code;
 }