Пример #1
0
 public void Deconstruct(out Mood mood, out string message)
 {
     mood    = this.Mood;
     message = this.Message;
 }
Пример #2
0
 /// <summary>
 /// 建立新回應物件實體。
 /// </summary>
 /// <param name="mood">情緒。</param>
 /// <param name="message">訊息。</param>
 public Response(Mood mood, string message)
 {
     this.Mood    = mood;
     this.Message = message;
 }