-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCodeFactory.WinVs.Loader.ConfigManager.html
More file actions
584 lines (557 loc) · 26.2 KB
/
CodeFactory.WinVs.Loader.ConfigManager.html
File metadata and controls
584 lines (557 loc) · 26.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ConfigManager
| CodeFactory for Windows </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ConfigManager
| CodeFactory for Windows ">
<meta name="generator" content="docfx ">
<link rel="shortcut icon" href="../images/favicon.png">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css" integrity="sha384-EvBWSlnoFgZlXJvpzS+MAUEjvN7+gcCwH+qh7GRFOGgZO0PuwOFro7qPOJnLfe7l" crossorigin="anonymous">
<link rel="stylesheet" href="../styles/config.css">
<link rel="stylesheet" href="../styles/discord.css">
<link rel="stylesheet" href="../styles/singulink.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
<meta property="docfx:newtab" content="true">
</head>
<body>
<div class="top-navbar">
<a class="burger-icon" onclick="toggleMenu()">
<svg name="Hamburger" style="vertical-align: middle;" width="34" height="34" viewbox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M20 6H4V9H20V6ZM4 10.999H20V13.999H4V10.999ZM4 15.999H20V18.999H4V15.999Z"></path></svg>
</a>
<a class="brand" href="../index.html">
<img src="../images/logo.png" alt="CodeFactory for Windows" class="logomark">
<span class="brand-title">CodeFactory for Windows</span>
</a> </div>
<div class="body-content">
<div id="blackout" class="blackout" onclick="toggleMenu()"></div>
<nav id="sidebar" role="navigation">
<div class="sidebar">
<div>
<div class="mobile-hide">
<a class="brand" href="../index.html">
<img src="../images/logo.png" alt="CodeFactory for Windows" class="logomark">
<span class="brand-title">CodeFactory for Windows</span>
</a> </div>
<div class="sidesearch">
<form id="search" role="search" class="search">
<i class="bi bi-search search-icon"></i>
<input type="text" id="search-query" placeholder="Search" autocomplete="off">
</form>
</div>
<div id="navbar">
</div>
</div> <div class="sidebar-item-separator"></div>
<div id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="footer">
<strong><a href='https://www.codefactory.software'>CodeFactory</a></strong>
</div> </nav>
<main class="main-panel">
<div id="search-results" style="display: none;">
<h1 class="search-list">Search Results for <span></span></h1>
<div class="sr-items">
<p><i class="bi bi-hourglass-split index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
<div role="main" class="hide-when-search">
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
<article class="content wrap" id="_content" data-uid="CodeFactory.WinVs.Loader.ConfigManager">
<h1 id="CodeFactory_WinVs_Loader_ConfigManager" data-uid="CodeFactory.WinVs.Loader.ConfigManager" class="text-break">Class ConfigManager
</h1>
<div class="markdown level0 summary"><p>Static class that manages the creation and reading of code factory configuration files.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div class="level1"><span class="xref">ConfigManager</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="CodeFactory.html">CodeFactory</a>.<a class="xref" href="CodeFactory.WinVs.html">WinVs</a>.<a class="xref" href="CodeFactory.WinVs.Loader.html">Loader</a></h6>
<h6><strong>Assembly</strong>: CodeFactory.WinVs.dll</h6>
<h5 id="CodeFactory_WinVs_Loader_ConfigManager_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static class ConfigManager</code></pre>
</div>
<h3 id="fields">Fields
</h3>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_DEBUG_CONFIG_FILE_NAME" data-uid="CodeFactory.WinVs.Loader.ConfigManager.DEBUG_CONFIG_FILE_NAME">DEBUG_CONFIG_FILE_NAME</h4>
<div class="markdown level1 summary"><p>Constant that holds the name of the debug version of the config file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string DEBUG_CONFIG_FILE_NAME = "debug.cfConfig"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_CONFIG_FILE_NAME" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_CONFIG_FILE_NAME">PACKAGE_CONFIG_FILE_NAME</h4>
<div class="markdown level1 summary"><p>Constant that holds the name of the configuration file to be stored in the configuration package.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_CONFIG_FILE_NAME = "config.cfConfig"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_CONFIG_NAMESPACE" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_CONFIG_NAMESPACE">PACKAGE_CONFIG_NAMESPACE</h4>
<div class="markdown level1 summary"><p>Constant that holds the xml namespace for the package configuration information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_CONFIG_NAMESPACE = "http://schema.codefactory.software/codefactory/v1.0/package/config"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_CONFIG_VIRTUAL_FILEPATH" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_CONFIG_VIRTUAL_FILEPATH">PACKAGE_CONFIG_VIRTUAL_FILEPATH</h4>
<div class="markdown level1 summary"><p>Constant that holds the replacement string information for the logical path for configuration data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_CONFIG_VIRTUAL_FILEPATH = "Config\\{0}"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_FILE_EXTENSION" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_FILE_EXTENSION">PACKAGE_FILE_EXTENSION</h4>
<div class="markdown level1 summary"><p>Constant that holds the file extension for code factory extension.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_FILE_EXTENSION = ".cfa"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_LIBRARIES_NAMESPACE" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_LIBRARIES_NAMESPACE">PACKAGE_LIBRARIES_NAMESPACE</h4>
<div class="markdown level1 summary"><p>Constant that holds the xml namespace for the package libraries information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_LIBRARIES_NAMESPACE = "http://schema.codefactory.software/codefactory/v1.0/package/libraries"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_PACKAGE_LIBRARIES_VIRTUAL_FILEPATH" data-uid="CodeFactory.WinVs.Loader.ConfigManager.PACKAGE_LIBRARIES_VIRTUAL_FILEPATH">PACKAGE_LIBRARIES_VIRTUAL_FILEPATH</h4>
<div class="markdown level1 summary"><p>Constant that holds the replacement string information for the logical path for library data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string PACKAGE_LIBRARIES_VIRTUAL_FILEPATH = "Libraries\\{0}"</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="CodeFactory_WinVs_Loader_ConfigManager_CopyStreamData_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CopyStreamData*"></a>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_CopyStreamData_System_IO_Stream_System_IO_Stream_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CopyStreamData(System.IO.Stream,System.IO.Stream)">CopyStreamData(Stream, Stream)</h4>
<div class="markdown level1 summary"><p>Extension method that copies data from one stream to another.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool CopyStreamData(this Stream source, Stream targetStream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
<td><span class="parametername">source</span></td>
<td><p>Source stream to read from.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
<td><span class="parametername">targetStream</span></td>
<td><p>Target stream to write data to.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
<td><p>Flag that determines if the stream copy completed successfully.</p>
</td>
</tr>
</tbody>
</table>
<a id="CodeFactory_WinVs_Loader_ConfigManager_CreateCodeFactoryPackage_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CreateCodeFactoryPackage*"></a>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_CreateCodeFactoryPackage_CodeFactory_WinVs_Loader_VsFactoryConfiguration_System_String_System_String_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CreateCodeFactoryPackage(CodeFactory.WinVs.Loader.VsFactoryConfiguration,System.String,System.String)">CreateCodeFactoryPackage(VsFactoryConfiguration, string, string)</h4>
<div class="markdown level1 summary"><p>Creates a code factory package that consolidates the needed libraries and configuration for a code factory into one file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool CreateCodeFactoryPackage(VsFactoryConfiguration sourceConfiguration, string targetDirectory, string targetPackageName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="CodeFactory.WinVs.Loader.VsFactoryConfiguration.html">VsFactoryConfiguration</a></td>
<td><span class="parametername">sourceConfiguration</span></td>
<td><p>The loaded factory configuration information to be loaded into a package file.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">targetDirectory</span></td>
<td><p>The directory the package will be placed in.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">targetPackageName</span></td>
<td><p>The file name of the package that will be created. The package extension of cfa will be appended to the package name.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="CodeFactory_WinVs_Loader_ConfigManager_CreatePackageFile_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CreatePackageFile*"></a>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_CreatePackageFile_CodeFactory_WinVs_Loader_VsFactoryConfiguration_System_Collections_Generic_List_CodeFactory_WinVs_Loader_VsPackageFileConfig__System_String_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.CreatePackageFile(CodeFactory.WinVs.Loader.VsFactoryConfiguration,System.Collections.Generic.List{CodeFactory.WinVs.Loader.VsPackageFileConfig},System.String)">CreatePackageFile(VsFactoryConfiguration, List<VsPackageFileConfig>, string)</h4>
<div class="markdown level1 summary"><p>Static helper method that creates a code factory extension file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool CreatePackageFile(VsFactoryConfiguration config, List<VsPackageFileConfig> packageFiles, string packageFilePath)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="CodeFactory.WinVs.Loader.VsFactoryConfiguration.html">VsFactoryConfiguration</a></td>
<td><span class="parametername">config</span></td>
<td><p>The factory configuration to load into the factory extension file.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="CodeFactory.WinVs.Loader.VsPackageFileConfig.html">VsPackageFileConfig</a>></td>
<td><span class="parametername">packageFiles</span></td>
<td><p>List of the package files to load into the factory extension file.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">packageFilePath</span></td>
<td><p>The fully qualified name of the package file to be created.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
<td><p>Flag that determines if the factory file was created or not.</p>
</td>
</tr>
</tbody>
</table>
<a id="CodeFactory_WinVs_Loader_ConfigManager_ExtractLibrariesFromPackage_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.ExtractLibrariesFromPackage*"></a>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_ExtractLibrariesFromPackage_System_String_System_String_System_Collections_Generic_List_System_String__" data-uid="CodeFactory.WinVs.Loader.ConfigManager.ExtractLibrariesFromPackage(System.String,System.String,System.Collections.Generic.List{System.String})">ExtractLibrariesFromPackage(string, string, List<string>)</h4>
<div class="markdown level1 summary"><p>Extracts a library file from the package and writes it to the target directory and library name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static VsPackageExtractResult ExtractLibrariesFromPackage(string packageFilePath, string targetDirectory, List<string> libraries)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">packageFilePath</span></td>
<td><p>The fully qualified file path for the code factory package.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">targetDirectory</span></td>
<td><p>The directory the library should be copied to.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>></td>
<td><span class="parametername">libraries</span></td>
<td><p>List of the files to be extracted to the target directory.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="CodeFactory.WinVs.Loader.VsPackageExtractResult.html">VsPackageExtractResult</a></td>
<td><p>The results of the extract are always returned.</p>
</td>
</tr>
</tbody>
</table>
<a id="CodeFactory_WinVs_Loader_ConfigManager_LoadFactoryConfiguration_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.LoadFactoryConfiguration*"></a>
<h4 id="CodeFactory_WinVs_Loader_ConfigManager_LoadFactoryConfiguration_System_String_" data-uid="CodeFactory.WinVs.Loader.ConfigManager.LoadFactoryConfiguration(System.String)">LoadFactoryConfiguration(string)</h4>
<div class="markdown level1 summary"><p>Loads the factory configuration from the package.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static PackageReadResult<VsFactoryConfiguration> LoadFactoryConfiguration(string packageFilePath)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">packageFilePath</span></td>
<td><p>The fully qualified path to the Code Factory package.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="CodeFactory.WinVs.Loader.PackageReadResult-1.html">PackageReadResult</a><<a class="xref" href="CodeFactory.WinVs.Loader.VsFactoryConfiguration.html">VsFactoryConfiguration</a>></td>
<td><p>Package read result with either the error that occurred or the fully loaded factory configuration.</p>
</td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="copyright-footer">
<span>© CodeFactory, LLC. All rights reserved.</span>
</div>
</main>
</div>
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js" integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
<script type="text/javascript" src="../styles/jquery.twbsPagination.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mark.js@8.11.1/dist/jquery.mark.min.js"></script>
<script type="text/javascript" src="../styles/url.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/anchor-js@5.0.0/anchor.min.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
<script type="text/javascript" src="../styles/singulink.js"></script> </body>
</html>