mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Added .NET 6 multitarget
This commit is contained in:
@@ -377,7 +377,11 @@ namespace Microsoft.Iris.Accessibility
|
||||
return Help;
|
||||
}
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
int IAccessible.get_accHelpTopic(ref string pszHelpFile, object varChild)
|
||||
#else
|
||||
int IAccessible.get_accHelpTopic(out string pszHelpFile, object varChild)
|
||||
#endif
|
||||
{
|
||||
VerifyProxyAccess();
|
||||
VerifySelfChildID(varChild);
|
||||
@@ -461,14 +465,22 @@ namespace Microsoft.Iris.Accessibility
|
||||
DoDefaultAction();
|
||||
}
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
void IAccessible.put_accName(object varChild, string pszName)
|
||||
#else
|
||||
void IAccessible.set_accName(object varChild, string pszName)
|
||||
#endif
|
||||
{
|
||||
VerifyProxyAccess();
|
||||
VerifySelfChildID(varChild);
|
||||
Name = pszName;
|
||||
}
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
void IAccessible.put_accValue(object varChild, string pszValue)
|
||||
#else
|
||||
void IAccessible.set_accValue(object varChild, string pszValue)
|
||||
#endif
|
||||
{
|
||||
VerifyProxyAccess();
|
||||
VerifySelfChildID(varChild);
|
||||
|
||||
@@ -17,6 +17,10 @@ using Microsoft.Iris.UI;
|
||||
using Microsoft.Iris.ViewItems;
|
||||
using System;
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
using Range = Microsoft.Iris.ModelItems.Range;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Iris.InputHandlers
|
||||
{
|
||||
internal class TextEditingHandler :
|
||||
|
||||
Reference in New Issue
Block a user