mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-19 22:04:56 -04:00
imported signalr 1.1.3 into NzbDrone.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AspNet.SignalR.Hubs
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class HubMethodNameAttribute : Attribute
|
||||
{
|
||||
public HubMethodNameAttribute(string methodName)
|
||||
{
|
||||
if (String.IsNullOrEmpty(methodName))
|
||||
{
|
||||
throw new ArgumentNullException("methodName");
|
||||
}
|
||||
MethodName = methodName;
|
||||
}
|
||||
|
||||
public string MethodName
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user