Class WeavingContext
Context class for Weaving.
Namespace: Cortex.Net.Fody
Assembly: Cortex.Net.Fody.dll
Syntax
public class WeavingContext : object
Constructors
| Improve this Doc View SourceWeavingContext(ModuleWeaver)
Initializes a new instance of the WeavingContext class.
Declaration
public WeavingContext(ModuleWeaver moduleWeaver)
Parameters
Type | Name | Description |
---|---|---|
ModuleWeaver | moduleWeaver | Moduleweaver to use. |
Properties
| Improve this Doc View SourceCortexNetApiActionAttribute
Gets type reference to Cortex.Net.Api.ActionAttribute.
Declaration
public TypeReference CortexNetApiActionAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetApiActionExtensions
Gets type reference to Cortex.Net.Api.ActionExtensions.
Declaration
public TypeReference CortexNetApiActionExtensions { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetApiComputedAttribute
Gets type reference to Cortex.Net.Api.ComputedAttribute.
Declaration
public TypeReference CortexNetApiComputedAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetApiObservableAttribute
Gets type reference to Cortex.Net.Api.ObservableAttribute.
Declaration
public TypeReference CortexNetApiObservableAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetComputedValueOptions
Gets type reference to Cortex.Net.ComputedValueOptions`1.
Declaration
public TypeReference CortexNetComputedValueOptions { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetCoreActionExtensions
Gets type reference to Cortex.Net.Core.ActionExtensions.
Declaration
public TypeReference CortexNetCoreActionExtensions { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetCoreActionRunInfo
Gets type reference to Cortex.Net.Core.ActionRunInfo.
Declaration
public TypeReference CortexNetCoreActionRunInfo { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetIReactiveObject
Gets type reference to Cortex.Net.IReactiveObject.
Declaration
public TypeReference CortexNetIReactiveObject { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetISharedState
Gets type reference to Cortex.Net.ISharedState.
Declaration
public TypeReference CortexNetISharedState { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetSharedState
Gets type reference to Cortex.Net.ISharedState.
Declaration
public TypeReference CortexNetSharedState { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetTypesDeepEnhancer
Gets type reference to Cortex.Net.Types.DeepEnhancer.
Declaration
public TypeReference CortexNetTypesDeepEnhancer { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetTypesObservableCollection
Gets type reference to Cortex.Net.Types.ObservableCollection`1.
Declaration
public TypeReference CortexNetTypesObservableCollection { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetTypesObservableDictionary
Gets type reference to Cortex.Net.Types.ObservableDictionary`2.
Declaration
public TypeReference CortexNetTypesObservableDictionary { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetTypesObservableObject
Gets type reference to Cortex.Net.Types.ObservableObject.
Declaration
public TypeReference CortexNetTypesObservableObject { get; }
Property Value
Type | Description |
---|---|
TypeReference |
CortexNetTypesObservableSet
Gets type reference to Cortex.Net.Types.ObservableSet`1.
Declaration
public TypeReference CortexNetTypesObservableSet { get; }
Property Value
Type | Description |
---|---|
TypeReference |
MicrosoftAspNetCoreComponentsInjectAttribute
Gets type reference to Microsoft.AspNetCore.Components.InjectAttribute.
Declaration
public TypeReference MicrosoftAspNetCoreComponentsInjectAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
SystemAction
Gets action type references.
Declaration
public IReadOnlyList<TypeReference> SystemAction { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<TypeReference> |
SystemDiagnosticsDebuggerBrowsableAttribute
Gets type reference to System.Diagnostics.DebuggerBrowsableAttribute.
Declaration
public TypeReference SystemDiagnosticsDebuggerBrowsableAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
SystemFunc
Gets func type references.
Declaration
public IReadOnlyList<TypeReference> SystemFunc { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<TypeReference> |
SystemObject
Gets type reference to System.Object.
Declaration
public TypeReference SystemObject { get; }
Property Value
Type | Description |
---|---|
TypeReference |
SystemRuntimeCompilerServicesAsyncStateMachineAttribute
Gets a reference to System.Runtime.CompilerServices.AsyncStateMachineAttribute.
Declaration
public TypeReference SystemRuntimeCompilerServicesAsyncStateMachineAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
SystemRuntimeCompilerServicesCompilerGeneratedAttribute
Gets type reference to System.Runtime.CompilerServices.CompilerGeneratedAttribute.
Declaration
public TypeReference SystemRuntimeCompilerServicesCompilerGeneratedAttribute { get; }
Property Value
Type | Description |
---|---|
TypeReference |
SystemThreadingTasksTask
Gets a reference to System.Threading.Tasks.Task.
Declaration
public TypeReference SystemThreadingTasksTask { get; }
Property Value
Type | Description |
---|---|
TypeReference |
Methods
| Improve this Doc View SourceTryResolveFromReference(ModuleWeaver, String, String, Boolean)
Tries to resolve a type from a preference.
Declaration
protected static TypeReference TryResolveFromReference(ModuleWeaver moduleWeaver, string fullName, string assemblyName, bool throwOnFailure = true)
Parameters
Type | Name | Description |
---|---|---|
ModuleWeaver | moduleWeaver | The module weaver to use. |
System.String | fullName | The fullname of the type. |
System.String | assemblyName | The assembly name. |
System.Boolean | throwOnFailure | Throw an exception on failure. |
Returns
Type | Description |
---|---|
TypeReference | A type reference. |
TryResolveFromScannedAssemblies(ModuleWeaver, String)
Tries to resolve a type from a preference.
Declaration
protected static TypeReference TryResolveFromScannedAssemblies(ModuleWeaver moduleWeaver, string fullName)
Parameters
Type | Name | Description |
---|---|---|
ModuleWeaver | moduleWeaver | The module weaver to use. |
System.String | fullName | The fullname of the type. |
Returns
Type | Description |
---|---|
TypeReference | A type reference. |