-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Microsoft/utsrid8.2
Move API and Browser project
- Loading branch information
Showing
65 changed files
with
10,278 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
Microsoft.Dynamics365.UIAutomation.Api/AssemblyVersionInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Reflection; | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("8.2.0.0")] | ||
[assembly: AssemblyFileVersion("8.2.0.0")] | ||
[assembly: AssemblyInformationalVersion("8.2.0.0")] |
61 changes: 61 additions & 0 deletions
61
Microsoft.Dynamics365.UIAutomation.Api/Controls/CrmControls.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT license. | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace Microsoft.Dynamics365.UIAutomation.Api | ||
{ | ||
public class CompositeControl | ||
{ | ||
public string Id { get; set; } | ||
public string Name { get; set; } | ||
public List<Field> Fields { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Represents an individual field on a Dynamics 365 Customer Experience web form. | ||
/// </summary> | ||
public class Field | ||
{ | ||
/// <summary> | ||
/// Gets or sets the identifier of the field. | ||
/// </summary> | ||
/// <value> | ||
/// The identifier. | ||
/// </value> | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the field. | ||
/// </summary> | ||
/// <value> | ||
/// The name. | ||
/// </value> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the value of the field. | ||
/// </summary> | ||
/// <value> | ||
/// The value. | ||
/// </value> | ||
public string Value { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Represents an Option Set in Dynamics 365. | ||
/// </summary> | ||
public class OptionSet | ||
{ | ||
public string Name { get; set; } | ||
public string Value { get; set; } | ||
} | ||
|
||
public class Lookup | ||
{ | ||
public string Name { get; set; } | ||
public string Value { get; set; } | ||
public int Index { get; set; } | ||
} | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
Microsoft.Dynamics365.UIAutomation.Api/DTOs/XrmAppNotification.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT license. | ||
|
||
using System; | ||
|
||
namespace Microsoft.Dynamics365.UIAutomation.Api | ||
{ | ||
public class XrmAppNotification | ||
{ | ||
internal XrmAppNotification(XrmNotficationPage page) | ||
{ | ||
_page = page; | ||
} | ||
|
||
private XrmNotficationPage _page; | ||
|
||
public Int32 Index { get; internal set; } | ||
public string Title { get; internal set; } | ||
public string Message { get; internal set; } | ||
public string DismissButtonText { get; internal set; } | ||
|
||
public void Dismiss() | ||
{ | ||
_page.Close(this); | ||
} | ||
} | ||
} |
Oops, something went wrong.