mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -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.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class HubNameAttribute : Attribute
|
||||
{
|
||||
public HubNameAttribute(string hubName)
|
||||
{
|
||||
if (String.IsNullOrEmpty(hubName))
|
||||
{
|
||||
throw new ArgumentNullException("hubName");
|
||||
}
|
||||
HubName = hubName;
|
||||
}
|
||||
|
||||
public string HubName
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user