2003-12-10 22:56:49 +00:00
|
|
|
//
|
|
|
|
// DefaultSignalHandlerAttribute.cs
|
|
|
|
//
|
|
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
|
|
//
|
|
|
|
// (C) 2003 Novell, Inc.
|
|
|
|
//
|
|
|
|
|
|
|
|
namespace GLib {
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
public sealed class DefaultSignalHandlerAttribute : Attribute
|
|
|
|
{
|
|
|
|
private string method;
|
2003-12-15 16:59:25 +00:00
|
|
|
private System.Type type;
|
2003-12-10 22:56:49 +00:00
|
|
|
|
|
|
|
public DefaultSignalHandlerAttribute () {}
|
|
|
|
|
|
|
|
public string ConnectionMethod
|
|
|
|
{
|
|
|
|
get {
|
|
|
|
return method;
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
method = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2003-12-15 16:59:25 +00:00
|
|
|
public System.Type Type
|
2003-12-10 22:56:49 +00:00
|
|
|
{
|
|
|
|
get {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
type = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|