PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Operation­Collection Class / Operation­Collection Methods / Operation­Collection.​Trim Method / Operation­Collection.​Trim Method (Restore­Point)
OperationCollection.Trim Method (RestorePoint)
Trims the current collection to a specified RestorePoint.

Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public void Trim(
	RestorePoint restorePoint
)

Parameters

restorePoint
Type: PostSharp.Patterns.Recording.RestorePoint
A token to the RestorePoint to which the current collection should be trimmed.
See Also