LoginSignup
0
0

More than 3 years have passed since last update.

NotificationMessageクラス(MVVM Light Toolkitリファレンス)

Last updated at Posted at 2019-09-05

NotificationMessage

概要

public class NotificationMessage : GalaSoft.MvvmLight.Messaging.MessageBase
  • 文字列のメッセージのクラス。
名前空間
  • GalaSoft.MvvmLight.Messaging

アセンブリ

  • GalaSoft.MvvmLight

メソッド

コンストラクター

コンストラクター
public NotificationMessage(object sender, object target, string notification)
public NotificationMessage(object sender, string notification)
public NotificationMessage(string notification)
概要
  • notificationがメッセージ本体の文字列。
  • senderは、メッセージの送信者となるオブジェクト。
  • targetは、メッセージの受領者となるオブジェクト。メッセージの配信には影響しない。つまり、メッセージの受領者として指定したtarget以外のオブジェクトにも、メッセージは配信される。したがって、メッセージが自分宛であるかどうかは、メッセージの受領したオブジェクトが判断する。

プロパティ

Notification

Notification
public string Notification { get; private set; }
概要
  • メッセージとして渡す文字列を戻す。

参照

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0