1 // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 3 namespace System.Web.Http.Filters 4 { 5 public sealed class FilterInfo 6 { FilterInfo(IFilter instance, FilterScope scope)7 public FilterInfo(IFilter instance, FilterScope scope) 8 { 9 if (instance == null) 10 { 11 throw Error.ArgumentNull("instance"); 12 } 13 14 Instance = instance; 15 Scope = scope; 16 } 17 18 public IFilter Instance { get; private set; } 19 20 public FilterScope Scope { get; private set; } 21 } 22 } 23