Skip to content

Commit

Permalink
Merge branch 'release/1.1.0-beta2'
Browse files Browse the repository at this point in the history
  • Loading branch information
iamfreid committed Apr 30, 2020
2 parents 7b084e9 + 69553a9 commit e024fed
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ public class MainGooglePage:View
```
public class TextBox:Control
{
public TextBox(string alias, string xpath, string css, TwinkleView twinkleView) : base(alias, xpath, css, twinkleView)
{
}
[Operation(Alias = "SetValue")]
public void SetValue(string value)
{
Expand Down Expand Up @@ -79,11 +74,6 @@ public class TextBox:Control
```
public class Button:Control
{
public Button(string alias, string xpath, string css, TwinkleView twinkleView) : base(alias, xpath, css, twinkleView)
{
}
[Operation(Alias = "Click")]
public void Click()
{
Expand Down
12 changes: 12 additions & 0 deletions Twinkle.View/TwinkleView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ public static void DefiniteActiveViews()
var targetFramework = ThreadsManager.GetTargetFramework();
targetFramework.GetActiveViews();
}

public static Dictionary<Type, object> GetActiveViews()
{
var targetFramework = ThreadsManager.GetTargetFramework();
return targetFramework.SystemContext.Views.ActiveViews;
}

public static Dictionary<Type, object> GetAllViews()
{
var targetFramework = ThreadsManager.GetTargetFramework();
return targetFramework.SystemContext.Views.AllViews;
}

//todo переделать
public static void ExportDefiniteActiveViews()
Expand Down
2 changes: 1 addition & 1 deletion Twinkle.View/View.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Twinkle.View</id>
<version>1.1.0-beta1</version>
<version>1.1.0-beta2</version>
<authors>Twinkle</authors>
<owners>Twinkle</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down

0 comments on commit e024fed

Please sign in to comment.