Spring.Messaging.Amqp.Rabbit
GetCachedModelWrapper Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Connection Namespace > CachingConnectionFactory Class : GetCachedModelWrapper Method
targetModel
The original Model to wrap.
modelList
The List of cached Model that the given Model belongs to.
Wraps the given Model so that it delegates every method call to the target model but adapts close calls. This is useful for allowing application code to handle a special framework Model just like an ordinary Model.

Syntax

C# 
protected virtual IModel GetCachedModelWrapper( 
   IModel targetModel,
   LinkedList<IModel> modelList
)

Parameters

targetModel
The original Model to wrap.
modelList
The List of cached Model that the given Model belongs to.

Return Value

The wrapped Model

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.