PostSharp Documentation
Introduction
Deployment and Configuration
Adding Aspects to Code
Logging
Contracts
INotifyPropertyChanged
Weak Event
XAML
Parent/Child, Visitor and Disposable
Undo/Redo
Caching
Multithreading
Developing Custom Aspects
Validating Architecture
Testing and Debugging
Miscellaneous
API Reference
PostSharp
PostSharp.Aspects
PostSharp.Aspects.Advices
PostSharp.Aspects.Configuration
PostSharp.Aspects.Dependencies
PostSharp.Aspects.Internals
PostSharp.Aspects.Serialization
PostSharp.Collections
PostSharp.Constraints
PostSharp.Extensibility
PostSharp.Extensibility.BuildTimeLogging
PostSharp.Patterns
PostSharp.Patterns.Caching
PostSharp.Patterns.Caching.Backends
PostSharp.Patterns.Caching.Backends.Azure
PostSharp.Patterns.Caching.Backends.Redis
PostSharp.Patterns.Caching.Dependencies
PostSharp.Patterns.Caching.Formatters
PostSharp.Patterns.Caching.Implementation
CacheDependencyInvalidatedEventArgs2
CachedMethodInfo
CachedParameterInfo
CacheInvalidator3
CacheInvalidatorOptions
CacheItem
CacheItem.Serializer2
CacheItemConfiguration
CacheItemConfiguration.Serializer2
CacheItemPriority
CacheItemRemovedEventArgs2
CacheItemRemovedReason
CacheKeyBuilder
CacheValue
CachingBackend
Id
Logger
Status
SupportedFeatures
ValueAdapters
Clear
ClearAsync
ClearAsyncCore
ClearCore
ContainsDependency
ContainsDependencyAsync
ContainsDependencyAsyncCore
ContainsDependencyCore
ContainsItem
ContainsItemAsync
ContainsItemAsyncCore
ContainsItemCore
CreateFeatures
Dispose
DisposeAsync
DisposeAsyncCore
DisposeCore
GetItem
GetItemAsync
GetItemAsyncCore
GetItemCore
InvalidateDependency
InvalidateDependencyAsync
InvalidateDependencyAsyncCore
InvalidateDependencyCore
OnDependencyInvalidated
OnItemRemoved
RemoveItem
RemoveItemAsync
RemoveItemAsyncCore
RemoveItemCore
SetItem
SetItemAsync
SetItemAsyncCore
SetItemCore
ToString
WhenBackgroundTasksCompleted
DependencyInvalidated
ItemRemoved
CachingBackendEnhancer2
CachingBackendEnhancerFeatures2
CachingBackendFeatures
CachingBackendStatus
ICacheItemConfiguration
PostSharp.Patterns.Caching.Locking
PostSharp.Patterns.Caching.Serializers
PostSharp.Patterns.Caching.ValueAdapters
PostSharp.Patterns.Collections
PostSharp.Patterns.Collections.Advices
PostSharp.Patterns.Contracts
PostSharp.Patterns.Diagnostics
PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
PostSharp.Patterns.Diagnostics.Adapters.DiagnosticSource
PostSharp.Patterns.Diagnostics.Adapters.HttpClient
PostSharp.Patterns.Diagnostics.Audit
PostSharp.Patterns.Diagnostics.Backends
PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
PostSharp.Patterns.Diagnostics.Backends.Audit
PostSharp.Patterns.Diagnostics.Backends.CommonLogging
PostSharp.Patterns.Diagnostics.Backends.Console
PostSharp.Patterns.Diagnostics.Backends.EventSource
PostSharp.Patterns.Diagnostics.Backends.Log4Net
PostSharp.Patterns.Diagnostics.Backends.Microsoft
PostSharp.Patterns.Diagnostics.Backends.Multiplexer
PostSharp.Patterns.Diagnostics.Backends.NLog
PostSharp.Patterns.Diagnostics.Backends.Null
PostSharp.Patterns.Diagnostics.Backends.Serilog
PostSharp.Patterns.Diagnostics.Backends.Trace
PostSharp.Patterns.Diagnostics.Backends.TraceSource
PostSharp.Patterns.Diagnostics.Contexts
PostSharp.Patterns.Diagnostics.Correlation
PostSharp.Patterns.Diagnostics.Custom
PostSharp.Patterns.Diagnostics.Custom.Messages
PostSharp.Patterns.Diagnostics.Formatters
PostSharp.Patterns.Diagnostics.RecordBuilders
PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
PostSharp.Patterns.Diagnostics.Transactions
PostSharp.Patterns.Diagnostics.Transactions.Model
PostSharp.Patterns.DynamicAdvising
PostSharp.Patterns.Formatters
PostSharp.Patterns.Model
PostSharp.Patterns.Model.Controls
PostSharp.Patterns.Model.TypeAdapters
PostSharp.Patterns.Recording
PostSharp.Patterns.Recording.Operations
PostSharp.Patterns.Threading
PostSharp.Patterns.Threading.Models
PostSharp.Patterns.Utilities
PostSharp.Patterns.Xaml
PostSharp.Reflection
PostSharp.Reflection.MethodBody
PostSharp.Serialization
Clears the cache.
public void Clear()