コード例 #1
0
 /// <summary>
 /// Bind this command to the router. An override is required here as this command can be launched using two identities
 /// </summary>
 public override void BindToRouter()
 {
     CommandRouter.BindHandler(CommandIdentity, this);
     CommandRouter.BindHandler(Resource.Id.play_now, this);
 }
コード例 #2
0
 /// <summary>
 /// Bind this command to the router using its command identity
 /// </summary>
 public virtual void BindToRouter() => CommandRouter.BindHandler(CommandIdentity, this);