Dynamic.psm1


Write-Verbose "Importing from [$PSScriptRoot\public]"
. "$PSScriptRoot\public\Resolve-DynamicFunctionDefinition.ps1"

Write-Verbose "Importing from [$PSScriptRoot\private]"
. "$PSScriptRoot\private\Add-DynamicFunctionAttribute.ps1"
. "$PSScriptRoot\private\Add-DynamicFunctionDynamicParamBlock.ps1"
. "$PSScriptRoot\private\Add-DynamicFunctionParamBlockPlaceholder.ps1"
. "$PSScriptRoot\private\Add-DynamicFunctionScriptBlock.ps1"
. "$PSScriptRoot\private\Assert-DynamicFunctionIsAdvanced.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionCommentBasedHelp.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionParamBlockContent.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionParameter.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionParameterDynamicAttribute.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionParameterDynamicAttributeCondition.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionPipelineParameterName.ps1"
. "$PSScriptRoot\private\Get-DynamicFunctionScriptBlockContent.ps1"
. "$PSScriptRoot\private\Get-ParameterComments.ps1"
. "$PSScriptRoot\private\Resolve-DynamicSimpleFunction.ps1"
. "$PSScriptRoot\private\Set-DynamicFunctionParamBlockPlaceholder.ps1"
. "$PSScriptRoot\private\Test-DynamicFunctionDefinition.ps1"

$publicFunctions = (Get-ChildItem -Path "$PSScriptRoot\public" -Filter '*.ps1').BaseName

Export-ModuleMember -Function $publicFunctions