Table of Contents

Class SendMailCommand

Namespace
H.Extensions.Mail
Assembly
H.Extensions.Mail.dll
[Icon("")]
[Display(Name = "发送邮件", Description = "将当前数据发送邮件")]
public class SendMailCommand : DisplayMarkupCommandBase, ICommand, INotifyPropertyChanged, IIconable, INameable, IDescriptionable
Inheritance
SendMailCommand
Implements
Inherited Members
Extension Methods

Methods

CanExecute(object)

Defines the method that determines whether the command can execute in its current state.

public override bool CanExecute(object parameter)

Parameters

parameter object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns

bool

true if this command can be executed; otherwise, false.

Execute(object)

Defines the method to be called when the command is invoked.

public override void Execute(object parameter)

Parameters

parameter object

Data used by the command. If the command does not require data to be passed, this object can be set to null.