mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Removind depercated fields (#6008)
This commit is contained in:
@@ -43,10 +43,6 @@ namespace Wox.Core.Plugin
|
|||||||
RawQuery = rawQuery,
|
RawQuery = rawQuery,
|
||||||
ActionKeyword = actionKeyword,
|
ActionKeyword = actionKeyword,
|
||||||
Search = search,
|
Search = search,
|
||||||
|
|
||||||
// Obsolete value initialisation
|
|
||||||
ActionName = actionKeyword,
|
|
||||||
ActionParameters = actionParameters,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return query;
|
return query;
|
||||||
|
|||||||
@@ -39,7 +39,13 @@
|
|||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Plugin\README.md" />
|
<None Include="Plugin\README.md" />
|
||||||
<None Include="README.md" />
|
<None Include="README.md" />
|
||||||
|
|||||||
@@ -103,12 +103,6 @@ namespace Wox.Plugin
|
|||||||
|
|
||||||
public override string ToString() => RawQuery;
|
public override string ToString() => RawQuery;
|
||||||
|
|
||||||
[Obsolete("Use ActionKeyword, this property will be removed in v1.3.0")]
|
|
||||||
public string ActionName { get; internal set; }
|
|
||||||
|
|
||||||
[Obsolete("Use Search instead, this property will be removed in v1.3.0")]
|
|
||||||
public List<string> ActionParameters { get; internal set; }
|
|
||||||
|
|
||||||
[Obsolete("Use Search instead, this method will be removed in v1.3.0")]
|
[Obsolete("Use Search instead, this method will be removed in v1.3.0")]
|
||||||
public string GetAllRemainingParameter() => Search;
|
public string GetAllRemainingParameter() => Search;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user