Show / Hide Table of Contents

Class CostFilter

Filters a property by its cost to query its value.

Inheritance
Object
CostFilter
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Props.Filters
Assembly:FubarDev.WebDavServer.dll
Syntax
public class CostFilter : IPropertyFilter

Constructors

| Improve this Doc View Source

CostFilter(Int32)

Initializes a new instance of the CostFilter class.

Declaration
public CostFilter(int maximumCost)
Parameters
Type Name Description
Int32 maximumCost

The maximum allowed cost

| Improve this Doc View Source

CostFilter(Int32, IPropertyFilter)

Initializes a new instance of the CostFilter class.

Declaration
public CostFilter(int maximumCost, IPropertyFilter exceptionFilter)
Parameters
Type Name Description
Int32 maximumCost

The maximum allowed cost

IPropertyFilter exceptionFilter

A filter that allows an exception to this rule

Methods

| Improve this Doc View Source

GetMissingProperties()

Gets the properties that weren't selected

Declaration
public IEnumerable<MissingProperty> GetMissingProperties()
Returns
Type Description
IEnumerable<MissingProperty>

The list of properties that weren't selected

Implements
IPropertyFilter.GetMissingProperties()
| Improve this Doc View Source

IsAllowed(IProperty)

Does this property pass the conditions of this filter?

Declaration
public bool IsAllowed(IProperty property)
Parameters
Type Name Description
IProperty property

The property to test

Returns
Type Description
Boolean

true when the property passes this filters condition(s)

Implements
IPropertyFilter.IsAllowed(IProperty)
| Improve this Doc View Source

NotifyOfSelection(IProperty)

Notify this filter when this property was selected

Declaration
public void NotifyOfSelection(IProperty property)
Parameters
Type Name Description
IProperty property

The property that was selected

Implements
IPropertyFilter.NotifyOfSelection(IProperty)
| Improve this Doc View Source

Reset()

Reset the status of the filter

Declaration
public void Reset()
Implements
IPropertyFilter.Reset()
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX