Spring.Messaging.Amqp.Rabbit
GetTargetModel Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Connection Namespace > ConnectionFactoryUtils Class : GetTargetModel Method
model
The model to unwrap
Return the innermost target IModel of the given IModel. If the given IModel is a decorated model, it will be unwrapped until a non-decorated IModel is found. Otherwise, the passed-in IModel will be returned as-is.

Syntax

C# 
public static IModel GetTargetModel( 
   IModel model
)

Parameters

model
The model to unwrap

Return Value

The innermost target IModel, or the passed-in one if no decorator

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.