PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Declaration­Cache Class / Declaration­Cache Methods / Declaration­Cache.​Get­Module­Item(T) Method

DeclarationCache.GetModuleItem<T> Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.DeclarationCache.GetModuleItem``1(System.Func{PostSharp.Sdk.CodeModel.ModuleDeclaration,``0})"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public T GetModuleItem<T>(
	Func<ModuleDeclaration, T> getter
)

Parameters

getter
Type: System.Func<ModuleDeclaration, T>

[Missing <param name="getter"/> documentation for "M:PostSharp.Sdk.CodeModel.DeclarationCache.GetModuleItem``1(System.Func{PostSharp.Sdk.CodeModel.ModuleDeclaration,``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:PostSharp.Sdk.CodeModel.DeclarationCache.GetModuleItem``1(System.Func{PostSharp.Sdk.CodeModel.ModuleDeclaration,``0})"]

Return Value

Type: T

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.DeclarationCache.GetModuleItem``1(System.Func{PostSharp.Sdk.CodeModel.ModuleDeclaration,``0})"]

See Also