using System;
namespace Tizen.Applications.AttachPanel
{
///
/// A class for the event arguments of the result event.
///
/// 4
public class ResultEventArgs : EventArgs
{
private readonly ContentCategory _category;
private readonly AppControl _result;
private readonly AppControlReplyResult _resultCode;
internal ResultEventArgs(ContentCategory category, AppControl result, AppControlReplyResult resultCode)
{
_category = category;
_result = result;
_resultCode = resultCode;
}
///
/// Results are from the content category.
///
/// 4
public ContentCategory Category
{
get
{
return _category;
}
}
///
/// Property for the result.
/// The caller application has to use the ExtraData property to get received data.
///
/// 4
public AppControl Result
{
get
{
return _result;
}
}
///
/// Property for the result of the AppControl.
///
/// 4
public AppControlReplyResult ResultCode
{
get
{
return _resultCode;
}
}
}
}