Struct_Conv_Mainframe_to_PC 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Struct_Conv_Mainframe_to_PC --version 1.0.0
                    
NuGet\Install-Package Struct_Conv_Mainframe_to_PC -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Struct_Conv_Mainframe_to_PC" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Struct_Conv_Mainframe_to_PC" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Struct_Conv_Mainframe_to_PC" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Struct_Conv_Mainframe_to_PC --version 1.0.0
                    
#r "nuget: Struct_Conv_Mainframe_to_PC, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Struct_Conv_Mainframe_to_PC&version=1.0.0
                    
Install Struct_Conv_Mainframe_to_PC as a Cake Addin
#tool nuget:?package=Struct_Conv_Mainframe_to_PC&version=1.0.0
                    
Install Struct_Conv_Mainframe_to_PC as a Cake Tool
1) FTP mainframe structures to the lan and save as txt.

2) Create an ini file inside the debug folder in your C# application.
    - Open the ini file and set the file path of your structure(s)
    - For input structures the naming scheme is: input_StructName = filePath\fileName.txt
    - For output structures the naming scheme is: output_StructName = filePath\fileName.txt
    - NOTE: you can have multiple structures declared in the ini file for both input and output.
    - When you are done, save your ini file the same name as your projects executable.

3) Inside of your project add a ref to the package.

4) After adding the ref go to the class where your app launches from.
    - Add "using StructureConverter" in your main class.
    - Inside the startup step create a new instance of StructureConverter and select the appropriate creation method for your structures. 

5) Using your created structure
    - Create a new Dictionary object 
    - Set the Dictionary object equal to the StructureConverter class and the static property that pertains to the structure you want to access.
    - After selecting the right property pass the input/output structure name you created in your ini file as a [key] as a type string.
    - ex. StructureConverter.OutputStructures["output_TEST"]
    - When you want to get the value of particular field you just need to pass the fieldName as a key on your Dictionary object;
    
6) When moving to production remember to copy the ini file to the prod environment. 

WARNING: When trying to create a new dictionary and set it equal to a dictionary that was created from a static property it will create a reference of the
        dictionary and change the data inside of the static property. 


        To create a copy of dictionary that was created from a static property use a foreach loop on the keys of the dictionary.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated