Skip to content

Commit ba82fa9

Browse files
Migrate CustomLocation from generation to vidai/secrets-detection-autorest (#24457)
* Move CustomLocation to vidai/secrets-detection-autorest * Update ChangeLog.md --------- Co-authored-by: Vincent Dai <[email protected]>
1 parent ea6e3c9 commit ba82fa9

File tree

64 files changed

+967
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+967
-83
lines changed

src/CustomLocation/CustomLocation.Autorest/Az.CustomLocation.psm1

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,37 +47,41 @@
4747

4848
# Ask for the shared functionality table
4949
$VTable = Register-AzModule
50-
50+
5151
# Tweaks the pipeline on module load
5252
$instance.OnModuleLoad = $VTable.OnModuleLoad
5353

5454
# Following two delegates are added for telemetry
5555
$instance.GetTelemetryId = $VTable.GetTelemetryId
5656
$instance.Telemetry = $VTable.Telemetry
57-
57+
58+
# Delegate to sanitize the output object
59+
$instance.SanitizeOutput = $VTable.SanitizerHandler
60+
61+
# Delegate to get the telemetry info
62+
$instance.GetTelemetryInfo = $VTable.GetTelemetryInfo
5863

5964
# Tweaks the pipeline per call
6065
$instance.OnNewRequest = $VTable.OnNewRequest
61-
66+
6267
# Gets shared parameter values
6368
$instance.GetParameterValue = $VTable.GetParameterValue
64-
69+
6570
# Allows shared module to listen to events from this module
6671
$instance.EventListener = $VTable.EventListener
67-
72+
6873
# Gets shared argument completers
6974
$instance.ArgumentCompleter = $VTable.ArgumentCompleter
70-
75+
7176
# The name of the currently selected Azure profile
7277
$instance.ProfileName = $VTable.ProfileName
7378

74-
7579
# Load the custom module
7680
$customModulePath = Join-Path $PSScriptRoot './custom/Az.CustomLocation.custom.psm1'
7781
if(Test-Path $customModulePath) {
7882
$null = Import-Module -Name $customModulePath
7983
}
80-
84+
8185
# Export nothing to clear implicit exports
8286
Export-ModuleMember
8387

@@ -97,12 +101,12 @@
97101
# Load the last folder if no profile is selected
98102
$profileDirectory = $directories | Select-Object -Last 1
99103
}
100-
104+
101105
if($profileDirectory) {
102106
Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
103107
$exportsPath = $profileDirectory.FullName
104108
}
105-
109+
106110
if($exportsPath) {
107111
Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
108112
$cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath

src/CustomLocation/CustomLocation.Autorest/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
This directory contains the PowerShell module for the CustomLocation service.
44

55
---
6-
76
## Info
87
- Modifiable: yes
98
- Generated: all
@@ -37,11 +36,11 @@ input-file:
3736
module-version: 0.1.0
3837
title: CustomLocation
3938
subject-prefix: $(service-name)
40-
41-
identity-correction-for-post: true
4239
disable-transform-identity-type: true
4340
flatten-userassignedidentity: false
4441

42+
identity-correction-for-post: true
43+
4544
directive:
4645
- from: swagger-document
4746
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}"].delete.responses

src/CustomLocation/CustomLocation.Autorest/exports/Find-AzCustomLocationTargetResourceGroup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ param(
7777
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
7878
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
7979
# Identity Parameter
80-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8180
${InputObject},
8281

8382
[Parameter(ParameterSetName='FindExpanded')]

src/CustomLocation/CustomLocation.Autorest/exports/Get-AzCustomLocation.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ param(
7575
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
7676
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
7777
# Identity Parameter
78-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
7978
${InputObject},
8079

8180
[Parameter()]

src/CustomLocation/CustomLocation.Autorest/exports/Get-AzCustomLocationResourceSyncRule.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,12 @@ param(
8787
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
8888
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
8989
# Identity Parameter
90-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
9190
${InputObject},
9291

9392
[Parameter(ParameterSetName='GetViaIdentityCustomlocation', Mandatory, ValueFromPipeline)]
9493
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
9594
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
9695
# Identity Parameter
97-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
9896
${CustomlocationInputObject},
9997

10098
[Parameter()]

src/CustomLocation/CustomLocation.Autorest/exports/New-AzCustomLocationResourceSyncRule.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,12 @@ param(
9696
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
9797
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
9898
# Identity Parameter
99-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
10099
${CustomlocationInputObject},
101100

102101
[Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
103102
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
104103
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
105104
# Identity Parameter
106-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
107105
${InputObject},
108106

109107
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
@@ -132,7 +130,6 @@ param(
132130
# Valid operators include In, NotIn, Exists, and DoesNotExist.
133131
# The values set must be non-empty in the case of In and NotIn.
134132
# The values set must be empty in the case of Exists and DoesNotExist.
135-
# To construct, see NOTES section for SELECTORMATCHEXPRESSION properties and create a hash table.
136133
${SelectorMatchExpression},
137134

138135
[Parameter(ParameterSetName='CreateExpanded')]

src/CustomLocation/CustomLocation.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ param(
7777
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
7878
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
7979
# Identity Parameter
80-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8180
${InputObject},
8281

8382
[Parameter(ParameterSetName='FindExpanded')]
@@ -479,14 +478,12 @@ param(
479478
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
480479
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
481480
# Identity Parameter
482-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
483481
${InputObject},
484482

485483
[Parameter(ParameterSetName='GetViaIdentityCustomlocation', Mandatory, ValueFromPipeline)]
486484
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
487485
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
488486
# Identity Parameter
489-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
490487
${CustomlocationInputObject},
491488

492489
[Parameter()]
@@ -683,7 +680,6 @@ param(
683680
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
684681
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
685682
# Identity Parameter
686-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
687683
${InputObject},
688684

689685
[Parameter()]
@@ -901,14 +897,12 @@ param(
901897
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
902898
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
903899
# Identity Parameter
904-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
905900
${CustomlocationInputObject},
906901

907902
[Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
908903
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
909904
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
910905
# Identity Parameter
911-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
912906
${InputObject},
913907

914908
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
@@ -937,7 +931,6 @@ param(
937931
# Valid operators include In, NotIn, Exists, and DoesNotExist.
938932
# The values set must be non-empty in the case of In and NotIn.
939933
# The values set must be empty in the case of Exists and DoesNotExist.
940-
# To construct, see NOTES section for SELECTORMATCHEXPRESSION properties and create a hash table.
941934
${SelectorMatchExpression},
942935

943936
[Parameter(ParameterSetName='CreateExpanded')]
@@ -1201,14 +1194,12 @@ param(
12011194
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
12021195
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
12031196
# Identity Parameter
1204-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
12051197
${InputObject},
12061198

12071199
[Parameter(ParameterSetName='DeleteViaIdentityCustomlocation', Mandatory, ValueFromPipeline)]
12081200
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
12091201
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
12101202
# Identity Parameter
1211-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
12121203
${CustomlocationInputObject},
12131204

12141205
[Parameter()]
@@ -1406,7 +1397,6 @@ param(
14061397
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
14071398
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
14081399
# Identity Parameter
1409-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
14101400
${InputObject},
14111401

14121402
[Parameter()]
@@ -1648,14 +1638,12 @@ param(
16481638
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
16491639
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
16501640
# Identity Parameter
1651-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
16521641
${CustomlocationInputObject},
16531642

16541643
[Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
16551644
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
16561645
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
16571646
# Identity Parameter
1658-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
16591647
${InputObject},
16601648

16611649
[Parameter(ParameterSetName='UpdateExpanded')]
@@ -1676,7 +1664,6 @@ param(
16761664
# Valid operators include In, NotIn, Exists, and DoesNotExist.
16771665
# The values set must be non-empty in the case of In and NotIn.
16781666
# The values set must be empty in the case of Exists and DoesNotExist.
1679-
# To construct, see NOTES section for SELECTORMATCHEXPRESSION properties and create a hash table.
16801667
${SelectorMatchExpression},
16811668

16821669
[Parameter(ParameterSetName='UpdateExpanded')]
@@ -2258,7 +2245,7 @@ COMPLEX PARAMETER PROPERTIES
22582245
22592246
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
22602247
2261-
INPUTOBJECT <ICustomLocationIdentity>: Identity Parameter
2248+
INPUTOBJECT <ICustomLocationIdentity>: Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
22622249
[ChildResourceName <String>]: Resource Sync Rule name.
22632250
[Id <String>]: Resource identity path
22642251
[ResourceGroupName <String>]: The name of the resource group. The name is case insensitive.

src/CustomLocation/CustomLocation.Autorest/exports/Remove-AzCustomLocation.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ param(
7171
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
7272
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
7373
# Identity Parameter
74-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
7574
${InputObject},
7675

7776
[Parameter()]

src/CustomLocation/CustomLocation.Autorest/exports/Remove-AzCustomLocationResourceSyncRule.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,12 @@ param(
8888
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
8989
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
9090
# Identity Parameter
91-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
9291
${InputObject},
9392

9493
[Parameter(ParameterSetName='DeleteViaIdentityCustomlocation', Mandatory, ValueFromPipeline)]
9594
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
9695
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
9796
# Identity Parameter
98-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
9997
${CustomlocationInputObject},
10098

10199
[Parameter()]

src/CustomLocation/CustomLocation.Autorest/exports/Update-AzCustomLocation.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ COMPLEX PARAMETER PROPERTIES
3636
3737
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
3838
39-
INPUTOBJECT <ICustomLocationIdentity>: Identity Parameter
39+
INPUTOBJECT <ICustomLocationIdentity>: Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
4040
[ChildResourceName <String>]: Resource Sync Rule name.
4141
[Id <String>]: Resource identity path
4242
[ResourceGroupName <String>]: The name of the resource group. The name is case insensitive.

src/CustomLocation/CustomLocation.Autorest/exports/Update-AzCustomLocationResourceSyncRule.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,12 @@ param(
104104
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
105105
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
106106
# Identity Parameter
107-
# To construct, see NOTES section for CUSTOMLOCATIONINPUTOBJECT properties and create a hash table.
108107
${CustomlocationInputObject},
109108

110109
[Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
111110
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Category('Path')]
112111
[Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Models.ICustomLocationIdentity]
113112
# Identity Parameter
114-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
115113
${InputObject},
116114

117115
[Parameter(ParameterSetName='UpdateExpanded')]
@@ -132,7 +130,6 @@ param(
132130
# Valid operators include In, NotIn, Exists, and DoesNotExist.
133131
# The values set must be non-empty in the case of In and NotIn.
134132
# The values set must be empty in the case of Exists and DoesNotExist.
135-
# To construct, see NOTES section for SELECTORMATCHEXPRESSION properties and create a hash table.
136133
${SelectorMatchExpression},
137134

138135
[Parameter(ParameterSetName='UpdateExpanded')]

src/CustomLocation/CustomLocation.Autorest/generated/Module.cs

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.CustomLocation
1717
using SignalDelegate = global::System.Func<string, global::System.Threading.CancellationToken, global::System.Func<global::System.EventArgs>, global::System.Threading.Tasks.Task>;
1818
using EventListenerDelegate = global::System.Func<string, global::System.Threading.CancellationToken, global::System.Func<global::System.EventArgs>, global::System.Func<string, global::System.Threading.CancellationToken, global::System.Func<global::System.EventArgs>, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>;
1919
using NextDelegate = global::System.Func<global::System.Net.Http.HttpRequestMessage, global::System.Threading.CancellationToken, global::System.Action, global::System.Func<string, global::System.Threading.CancellationToken, global::System.Func<global::System.EventArgs>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task<global::System.Net.Http.HttpResponseMessage>>;
20+
using SanitizerDelegate = global::System.Action<object, string>;
21+
using GetTelemetryInfoDelegate = global::System.Func<string, global::System.Collections.Generic.Dictionary<global::System.String,global::System.String>>;
2022

2123
/// <summary>A class that contains the module-common code and data.</summary>
2224
public partial class Module
@@ -26,12 +28,20 @@ public partial class Module
2628

2729
public global::System.Net.Http.HttpClientHandler _handler = new global::System.Net.Http.HttpClientHandler();
2830

31+
private static bool _init = false;
32+
33+
private static readonly global::System.Object _initLock = new global::System.Object();
34+
35+
private static Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module _instance;
36+
2937
/// <summary>the ISendAsync pipeline instance</summary>
3038
private Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Runtime.HttpPipeline _pipeline;
3139

3240
/// <summary>the ISendAsync pipeline instance (when proxy is enabled)</summary>
3341
private Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Runtime.HttpPipeline _pipelineWithProxy;
3442

43+
private static readonly global::System.Object _singletonLock = new global::System.Object();
44+
3545
public bool _useProxy = false;
3646

3747
public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy();
@@ -51,11 +61,11 @@ public partial class Module
5161
/// <summary>The delegate to get the telemetry Id.</summary>
5262
public GetTelemetryIdDelegate GetTelemetryId { get; set; }
5363

54-
/// <summary>Backing field for <see cref="Instance" /> property.</summary>
55-
private static Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module _instance;
64+
/// <summary>The delegate to get the telemetry info.</summary>
65+
public GetTelemetryInfoDelegate GetTelemetryInfo { get; set; }
5666

5767
/// <summary>the singleton of this module class</summary>
58-
public static Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module Instance => Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module._instance?? (Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module._instance = new Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module());
68+
public static Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Module Instance { get { if (_instance == null) { lock (_singletonLock) { if (_instance == null) { _instance = new Module(); }}} return _instance; } }
5969

6070
/// <summary>The Name of this module</summary>
6171
public string Name => @"Az.CustomLocation";
@@ -72,6 +82,9 @@ public partial class Module
7282
/// <summary>The ResourceID for this module (azure arm).</summary>
7383
public string ResourceId => @"Az.CustomLocation";
7484

85+
/// <summary>The delegate to call in WriteObject to sanitize the output object.</summary>
86+
public SanitizerDelegate SanitizeOutput { get; set; }
87+
7588
/// <summary>The delegate for creating a telemetry.</summary>
7689
public TelemetryDelegate Telemetry { get; set; }
7790

@@ -117,9 +130,17 @@ public Microsoft.Azure.PowerShell.Cmdlets.CustomLocation.Runtime.HttpPipeline Cr
117130
/// <summary>Initialization steps performed after the module is loaded.</summary>
118131
public void Init()
119132
{
120-
OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipeline.Prepend(step); } , (step)=> { _pipeline.Append(step); } );
121-
OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipelineWithProxy.Prepend(step); } , (step)=> { _pipelineWithProxy.Append(step); } );
122-
CustomInit();
133+
if (_init == false)
134+
{
135+
lock (_initLock) {
136+
if (_init == false) {
137+
OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipeline.Prepend(step); } , (step)=> { _pipeline.Append(step); } );
138+
OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipelineWithProxy.Prepend(step); } , (step)=> { _pipelineWithProxy.Append(step); } );
139+
CustomInit();
140+
_init = true;
141+
}
142+
}
143+
}
123144
}
124145

125146
/// <summary>Creates the module instance.</summary>

0 commit comments

Comments
 (0)