Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BehaviorResult"/> class.
 /// </summary>
 /// <param name="statusCode">The status code.</param>
 /// <param name="results">The results.</param>
 internal BehaviorResult(ExternalInterface.ResponseStatus.Types.StatusCode statusCode, ExternalInterface.BehaviorResults results)
 {
     StatusCode = statusCode.Convert();
     Result     = results.Convert();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BehaviorResult"/> class.
 /// </summary>
 /// <param name="statusCode">The status code.</param>
 /// <param name="results">The results.</param>
 internal BehaviorResult(ExternalInterface.ResponseStatus.Types.StatusCode statusCode, ExternalInterface.BehaviorResults results)
 {
     StatusCode = (StatusCode)statusCode;
     Result     = (BehaviorResultCode)results;
 }