PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection­Extensions Class/Element­Collection­Extensions Methods/Element­Collection­Extensions.​Add­Range­Cloned­Translated(T) Method

ElementCollectionExtensions.AddRangeClonedTranslated<T> Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.Collections.ElementCollectionExtensions.AddRangeClonedTranslated``1(PostSharp.Sdk.CodeModel.Collections.ElementCollection{``0},System.Collections.Generic.ICollection{``0},PostSharp.Sdk.CodeModel.ModuleDeclaration)"]

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public static void AddRangeClonedTranslated<T>(
	this ElementCollection<T> collection,
	ICollection<T> items,
	ModuleDeclaration targetModule
)
where T : Element, ICloneableModuleElement

Parameters

collection
Type: PostSharp.Sdk.CodeModel.Collections.ElementCollection<T>

[Missing <param name="collection"/> documentation for "M:PostSharp.Sdk.CodeModel.Collections.ElementCollectionExtensions.AddRangeClonedTranslated``1(PostSharp.Sdk.CodeModel.Collections.ElementCollection{``0},System.Collections.Generic.ICollection{``0},PostSharp.Sdk.CodeModel.ModuleDeclaration)"]

items
Type: System.Collections.Generic.ICollection<T>

[Missing <param name="items"/> documentation for "M:PostSharp.Sdk.CodeModel.Collections.ElementCollectionExtensions.AddRangeClonedTranslated``1(PostSharp.Sdk.CodeModel.Collections.ElementCollection{``0},System.Collections.Generic.ICollection{``0},PostSharp.Sdk.CodeModel.ModuleDeclaration)"]

targetModule
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration

[Missing <param name="targetModule"/> documentation for "M:PostSharp.Sdk.CodeModel.Collections.ElementCollectionExtensions.AddRangeClonedTranslated``1(PostSharp.Sdk.CodeModel.Collections.ElementCollection{``0},System.Collections.Generic.ICollection{``0},PostSharp.Sdk.CodeModel.ModuleDeclaration)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:PostSharp.Sdk.CodeModel.Collections.ElementCollectionExtensions.AddRangeClonedTranslated``1(PostSharp.Sdk.CodeModel.Collections.ElementCollection{``0},System.Collections.Generic.ICollection{``0},PostSharp.Sdk.CodeModel.ModuleDeclaration)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ElementCollection<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also