MethodMapping.DefineLocalStorage Method |
[Missing <summary> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMapping.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)
public virtual 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.MethodMapping.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.MethodMapping.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.MethodMapping.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.MethodMapping.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.MethodMapping.DefineLocalStorage(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionBlock,System.String,System.Boolean)"]