Class NOPThrottling
Represents throttling implementation that does nothing and always returns NOPThrottle
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Throttling
Assembly: NFX.dll
Syntax
public class NOPThrottling : ApplicationComponent, IThrottlingImplementation, IThrottling, IApplicationComponent, IDisposable, IConfigurable
Properties
Enabled
Declaration
public bool Enabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Instance
Declaration
public static NOPThrottling Instance { get; }
Property Value
Type | Description |
---|---|
NOPThrottling |
Item[String]
Declaration
public IThrottle this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
IThrottle |
Methods
Configure(IConfigSectionNode)
Declaration
public void Configure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
RegisterThrottle(Throttle)
Declaration
public void RegisterThrottle(Throttle throttle)
Parameters
Type | Name | Description |
---|---|---|
Throttle | throttle |
UnregisterThrottle(Throttle)
Declaration
public bool UnregisterThrottle(Throttle throttle)
Parameters
Type | Name | Description |
---|---|---|
Throttle | throttle |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IDisposable