A SpaceFilterConfigFactory implementation that accepts
an object filter with attributes markers as to which filter operation to listen to. The
available annotations are the different attributes found within this namespace with
either the Before prefix or the After prefix (for example:
BeforeWriteAttribute and AfterWriteAttribute). Filter lifecycle methods can be marked
using OnFilterInitAttribute and implements IDisposable.
The methods marked with an attribute can accept different arguments. Please see
FilterOperationDelegateInvoker for all the different possibilities.
For an object filter adapter that does not use attributes please see MethodNameSpaceFilterConfigFactory.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public class AttributeSpaceFilterConfigFactory : SpaceFilterConfigFactory
Public Class AttributeSpaceFilterConfigFactory _ Inherits SpaceFilterConfigFactory
public ref class AttributeSpaceFilterConfigFactory : public SpaceFilterConfigFactory
public class AttributeSpaceFilterConfigFactory extends SpaceFilterConfigFactory
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AttributeSpaceFilterConfigFactory()()()() | Initializes a new instance of the AttributeSpaceFilterConfigFactory class | |
CreateSpaceFilterConfig()()()() |
Creates SpaceFilterConfig using the implemented creator logic
(Inherited from SpaceFilterConfigFactory.) | |
Enabled |
Gets or sets if this filter is enabled.
(Inherited from SpaceFilterConfigFactory.) | |
Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Filter |
Gets or sets the filter that will be used. Note, it is not an ISpaceFilter
implementation since this object filter can be a delegate that does not require the filter to implement
the space filter interface.
(Inherited from SpaceFilterConfigFactory.) | |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsActiveWhenBackup |
Gets or sets if this filter is active when the space is in backup mode.
(Inherited from SpaceFilterConfigFactory.) | |
IsSecurityFilter |
Gets or sets if this filter is a security filter.
(Inherited from SpaceFilterConfigFactory.) | |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Priority |
Gets or sets the filter priority.
(Inherited from SpaceFilterConfigFactory.) | |
ShutdownSpaceOnInitFailure |
Gets or sets if the space should shutdown on filter init failure.
(Inherited from SpaceFilterConfigFactory.) | |
ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
Object | ||
SpaceFilterConfigFactory | ||
AttributeSpaceFilterConfigFactory |