Skip to content

Commit ebc9dac

Browse files
committed
Merge branch 'dev'
2 parents cc5a14a + b459e4c commit ebc9dac

27 files changed

+435
-257
lines changed
512 Bytes
Binary file not shown.
4 KB
Binary file not shown.
512 Bytes
Binary file not shown.
4 KB
Binary file not shown.

ListFunctions/ListFunctions.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Mike Garvey
55
#
6-
# Generated on: 1/7/2024
6+
# Generated on: 9/13/2025
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'ListFunctions.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '3.0.0'
15+
ModuleVersion = '3.1.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = @('Desk', 'Core')
@@ -126,7 +126,7 @@
126126
# Prerelease = 'beta'
127127

128128
# ReleaseNotes of this module
129-
ReleaseNotes = 'Refactoring work to improve performance and reduce overhead. Utilizes ZLinq library for PowerShell 7 version for further gains.'
129+
ReleaseNotes = 'Fixes Find-IndexOf cmdlet from returning the wrong result in certain situations.'
130130

131131
} # End of PSData hashtable
132132

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"RootPath":"O:\\Local_Repos\\ListFunctions\\src\\engine\\ListFunctions-NETFramework","ProjectFileName":"ListFunctions-NETFramework.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Nullable\\AllowNullAttribute.cs"},{"SourceFile":"Nullable\\DisallowNullAttribute.cs"},{"SourceFile":"Nullable\\DoesNotReturnAttribute.cs"},{"SourceFile":"Nullable\\DoesNotReturnIfAttribute.cs"},{"SourceFile":"Nullable\\MaybeNullAttribute.cs"},{"SourceFile":"Nullable\\MaybeNullWhenAttribute.cs"},{"SourceFile":"Nullable\\MemberNotNullAttribute.cs"},{"SourceFile":"Nullable\\MemberNotNullWhenAttribute.cs"},{"SourceFile":"Nullable\\NotNullAttribute.cs"},{"SourceFile":"Nullable\\NotNullIfNotNullAttribute.cs"},{"SourceFile":"Nullable\\NotNullWhenAttribute.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"..\\ListFunctions-Next\\Build\\InternalFinder.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Assertions\\AssertAllObjectsCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Assertions\\AssertAnyObjectCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Assertions\\AssertObjectCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\ConvertToDictionaryCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\EqualityConstructingCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\NewDictionaryCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\NewHashSetCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\NewListCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Constructs\\NewSortedSetCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Finds\\FindIndexCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\Finds\\FindLastIndexCmdlet.cs"},{"SourceFile":"..\\ListFunctions-Next\\Cmdlets\\ListFunctionCmdletBase.cs"},{"SourceFile":"..\\ListFunctions-Next\\DuplicateKeyBehavior.cs"},{"SourceFile":"..\\ListFunctions-Next\\Exceptions\\LFInvalidCastException.cs"},{"SourceFile":"..\\ListFunctions-Next\\Validation\\ArgumentToTypeNameTransformAttribute.cs"},{"SourceFile":"..\\ListFunctions-Next\\Validation\\ListTransformAttribute.cs"},{"SourceFile":"..\\ListFunctions-Next\\Validation\\ValidateScriptVariableAttribute.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.1.AssemblyAttributes.cs"}],"References":[{"Reference":"O:\\Local_Repos\\ListFunctions\\src\\engine\\ListFunctions.Engine\\bin\\Debug\\netstandard2.0\\ListFunctions.Engine.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"O:\\Local_Repos\\ListFunctions\\src\\engine\\ListFunctions.Engine\\bin\\Debug\\netstandard2.0\\ListFunctions.Engine.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.1\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.1\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\netfx.force.conflicts.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.1\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Data.Common.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Diagnostics.StackTrace.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Diagnostics.Tracing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.1\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Globalization.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.IO.Compression.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"O:\\Local_Repos\\ListFunctions\\src\\engine\\packages\\Microsoft.PowerShell.5.ReferenceAssemblies.1.1.0\\lib\\net4\\System.Management.Automation.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Net.Sockets.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Runtime.Serialization.Primitives.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Security.Cryptography.Algorithms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Security.SecureString.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Threading.Overlapped.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Microsoft Visual Studio\\18\\Insiders\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net471\\lib\\System.Xml.XPath.XDocument.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"O:\\Local_Repos\\ListFunctions\\src\\engine\\ListFunctions-NETFramework\\bin\\Debug\\ListFunctions.NETFramework.dll","OutputItemRelativePath":"ListFunctions.NETFramework.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}

src/engine/ListFunctions-NETFramework/ListFunctions-NETFramework.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="..\packages\Nullable.1.3.1\build\Nullable.props" Condition="Exists('..\packages\Nullable.1.3.1\build\Nullable.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
77
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
88
<ProjectGuid>{6E62CFEE-5F6B-4097-98C0-93F3CF55A17D}</ProjectGuid>
9-
<LangVersion>8.0</LangVersion>
9+
<LangVersion>9.0</LangVersion>
1010
<OutputType>Library</OutputType>
1111
<Nullable>enable</Nullable>
1212
<AppDesignerFolder>Properties</AppDesignerFolder>
1313
<RootNamespace>ListFunctions</RootNamespace>
1414
<AssemblyName>ListFunctions.NETFramework</AssemblyName>
15-
<AssemblyVersion>3.0.0</AssemblyVersion>
15+
<AssemblyVersion>3.1.0</AssemblyVersion>
1616
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
17-
<FileVersion>3.0.0</FileVersion>
18-
<Version>3.0.0</Version>
17+
<FileVersion>3.1.0</FileVersion>
18+
<Version>3.1.0</Version>
1919
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
2020
<FileAlignment>512</FileAlignment>
2121
<Deterministic>true</Deterministic>
@@ -69,7 +69,7 @@
6969
<ItemGroup Condition="'$(Configuration)' == 'Release'">
7070
<Content Include="Debug.ps1">
7171
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
72-
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
72+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
7373
</Content>
7474
</ItemGroup>
7575
<ItemGroup>

src/engine/ListFunctions-NETFramework/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Reflection;
1+
using System.Reflection;
22
using System.Runtime.CompilerServices;
33
using System.Runtime.InteropServices;
44

@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
1212
[assembly: AssemblyProduct("ListFunctions-NETFramework")]
13-
[assembly: AssemblyCopyright("Copyright © Yevrag35, LLC. 2020-2024")]
13+
[assembly: AssemblyCopyright("Copyright © Yevrag35, LLC. 2020-2025")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.0.0")]
36-
[assembly: AssemblyFileVersion("3.0.0")]
35+
[assembly: AssemblyVersion("3.1.0")]
36+
[assembly: AssemblyFileVersion("3.1.0")]

src/engine/ListFunctions-Next/Cmdlets/Assertions/AssertAllObjectsCmdlet.cs

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using ListFunctions.Modern;
1+
using ListFunctions.Modern;
22
using ListFunctions.Modern.Variables;
33
using ListFunctions.Validation;
44
using System;
@@ -19,7 +19,7 @@ public sealed class AssertAllObjectsCmdlet : AssertObjectCmdlet
1919
[Parameter(Mandatory = true, Position = 0)]
2020
[Alias("ScriptBlock", "FilterScript")]
2121
[AllowNull, AllowEmptyString]
22-
[ValidateScriptVariable(PSThisVariable.UNDERSCORE_NAME, PSThisVariable.THIS_NAME, PSThisVariable.PSITEM_NAME)]
22+
[ValidateScriptVariable(PSThisVariable.UNDERSCORE_NAME, PSThisVariable.THIS_NAME, PSThisVariable.PSITEM_NAME, PSThisVariable.ARGS_FIRST)]
2323
public override ScriptBlock? Condition
2424
{
2525
get => base.Condition;
@@ -48,21 +48,5 @@ protected override void End(bool scriptResult)
4848
{
4949
this.WriteObject(!scriptResult);
5050
}
51-
52-
//protected override void BeginProcessing()
53-
//{
54-
// _equality = new ScriptBlockFilter(this.Condition, new PSVariable(ERROR_ACTION_PREFERENCE, this.ScriptBlockErrorAction));
55-
//}
56-
//protected override void ProcessRecord()
57-
//{
58-
// if (!_stop)
59-
// {
60-
// _stop = !_equality.All(this.InputObject);
61-
// }
62-
//}
63-
//protected override void EndProcessing()
64-
//{
65-
// this.WriteObject(_stop);
66-
//}
6751
}
6852
}

src/engine/ListFunctions-Next/Cmdlets/Assertions/AssertAnyObjectCmdlet.cs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using ListFunctions.Modern;
1+
using ListFunctions.Modern;
22
using ListFunctions.Modern.Variables;
33
using ListFunctions.Validation;
44
using System.Collections.Generic;
@@ -25,7 +25,7 @@ public sealed class AssertAnyObjectCmdlet : AssertObjectCmdlet
2525
[Parameter(Position = 0)]
2626
[Alias("ScriptBlock", "FilterScript")]
2727
[PSAllowNull, AllowEmptyString, MaybeNull, AllowsNull]
28-
[ValidateScriptVariable(PSThisVariable.UNDERSCORE_NAME, PSThisVariable.THIS_NAME, PSThisVariable.PSITEM_NAME)]
28+
[ValidateScriptVariable(PSThisVariable.UNDERSCORE_NAME, PSThisVariable.THIS_NAME, PSThisVariable.PSITEM_NAME, PSThisVariable.ARGS_FIRST)]
2929
public override ScriptBlock Condition
3030
{
3131
get => base.Condition;
@@ -52,20 +52,6 @@ protected override bool ProcessWhenNoCondition()
5252
}
5353

5454
return false;
55-
//if (!_hasNonNull)
56-
//{
57-
// ProcessWhenNoCondition(this.InputObject, ref _hasNonNull);
58-
//}
59-
//if (!this.HasCondition)
60-
//{
61-
62-
63-
// return;
64-
//}
65-
//else if (!_stop)
66-
//{
67-
// _stop = _equality.Any(this.InputObject);
68-
//}
6955
}
7056
protected override void End(bool scriptResult)
7157
{

0 commit comments

Comments
 (0)