PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / ILocal­Storage­Provider Interface / ILocal­Storage­Provider Methods / ILocal­Storage­Provider.​Define­Local­Storage Method

ILocalStorageProvider.DefineLocalStorage Method

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
ILocalStorage DefineLocalStorage(
	ITypeSignature type,
	InstructionBlock instructionBlock,
	string name = null,
	bool longLived = true
)

Parameters

type
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="type"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

instructionBlock
Type: PostSharp.Sdk.CodeModel.InstructionBlock

[Missing <param name="instructionBlock"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

name (Optional)
Type: System.String

[Missing <param name="name"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

longLived (Optional)
Type: System.Boolean

[Missing <param name="longLived"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

Return Value

Type: ILocalStorage

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectInfrastructure.ILocalStorageProvider.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]

See Also