Skip to content

Commit

Permalink
wip: clean up method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuntley committed Jun 6, 2019
1 parent 60afecf commit 4e1bd92
Show file tree
Hide file tree
Showing 11 changed files with 448 additions and 500 deletions.
410 changes: 207 additions & 203 deletions src/Uno.UI/UI/Xaml/Controls/TreeView/TreeView.cs

Large diffs are not rendered by default.

16 changes: 5 additions & 11 deletions src/Uno.UI/UI/Xaml/Controls/TreeView/TreeViewCollapsedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
using System;
namespace Windows.UI.Xaml.Controls
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
[Uno.NotImplemented]
public partial class TreeViewCollapsedEventArgs
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
[Uno.NotImplemented]
public global::Windows.UI.Xaml.Controls.TreeViewNode Node
{
get
{
throw new global::System.NotImplementedException("The member TreeViewNode TreeViewCollapsedEventArgs.Node is not implemented in Uno.");
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]

[Uno.NotImplemented]
public object Item
{
get
{
throw new global::System.NotImplementedException("The member object TreeViewCollapsedEventArgs.Item is not implemented in Uno.");
}
}
#endif
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewCollapsedEventArgs.Node.get
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewCollapsedEventArgs.Item.get
}
}
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
using System;
using System.Collections.Generic;
using Windows.ApplicationModel.DataTransfer;

namespace Windows.UI.Xaml.Controls
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
[Uno.NotImplemented]
public partial class TreeViewDragItemsCompletedEventArgs
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
public global::Windows.ApplicationModel.DataTransfer.DataPackageOperation DropResult
[Uno.NotImplemented]
public DataPackageOperation DropResult
{
get
{
throw new global::System.NotImplementedException("The member DataPackageOperation TreeViewDragItemsCompletedEventArgs.DropResult is not implemented in Uno.");
throw new NotImplementedException("The member DataPackageOperation TreeViewDragItemsCompletedEventArgs.DropResult is not implemented in Uno.");
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
public global::System.Collections.Generic.IReadOnlyList<object> Items

[Uno.NotImplemented]
public IReadOnlyList<object> Items
{
get
{
throw new global::System.NotImplementedException("The member IReadOnlyList<object> TreeViewDragItemsCompletedEventArgs.Items is not implemented in Uno.");
throw new NotImplementedException("The member IReadOnlyList<object> TreeViewDragItemsCompletedEventArgs.Items is not implemented in Uno.");
}
}
#endif
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs.DropResult.get
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs.Items.get
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
using System;
using System.Collections.Generic;
using Windows.Foundation.Metadata;
using Windows.ApplicationModel.DataTransfer;

namespace Windows.UI.Xaml.Controls
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif

[Uno.NotImplemented]
public partial class TreeViewDragItemsStartingEventArgs
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]

[Uno.NotImplemented]
public bool Cancel
{
get
{
throw new global::System.NotImplementedException("The member bool TreeViewDragItemsStartingEventArgs.Cancel is not implemented in Uno.");
throw new NotImplementedException("The member bool TreeViewDragItemsStartingEventArgs.Cancel is not implemented in Uno.");
}
set
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs", "bool TreeViewDragItemsStartingEventArgs.Cancel");
ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs", "bool TreeViewDragItemsStartingEventArgs.Cancel");
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
public global::Windows.ApplicationModel.DataTransfer.DataPackage Data

[Uno.NotImplemented]
public DataPackage Data
{
get
{
throw new global::System.NotImplementedException("The member DataPackage TreeViewDragItemsStartingEventArgs.Data is not implemented in Uno.");
throw new NotImplementedException("The member DataPackage TreeViewDragItemsStartingEventArgs.Data is not implemented in Uno.");
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
public global::System.Collections.Generic.IList<object> Items
[Uno.NotImplemented]
public IList<object> Items
{
get
{
throw new global::System.NotImplementedException("The member IList<object> TreeViewDragItemsStartingEventArgs.Items is not implemented in Uno.");
throw new NotImplementedException("The member IList<object> TreeViewDragItemsStartingEventArgs.Items is not implemented in Uno.");
}
}
#endif
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Cancel.get
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Cancel.set
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Data.get
Expand Down
22 changes: 10 additions & 12 deletions src/Uno.UI/UI/Xaml/Controls/TreeView/TreeViewExpandingEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
using System;

namespace Windows.UI.Xaml.Controls
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
[Uno.NotImplemented]
public partial class TreeViewExpandingEventArgs
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
public global::Windows.UI.Xaml.Controls.TreeViewNode Node

[Uno.NotImplemented]
public TreeViewNode Node
{
get
{
throw new global::System.NotImplementedException("The member TreeViewNode TreeViewExpandingEventArgs.Node is not implemented in Uno.");
throw new NotImplementedException("The member TreeViewNode TreeViewExpandingEventArgs.Node is not implemented in Uno.");
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]

[Uno.NotImplemented]
public object Item
{
get
{
throw new global::System.NotImplementedException("The member object TreeViewExpandingEventArgs.Item is not implemented in Uno.");
throw new NotImplementedException("The member object TreeViewExpandingEventArgs.Item is not implemented in Uno.");
}
}
#endif
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewExpandingEventArgs.Node.get
// Forced skipping of method Windows.UI.Xaml.Controls.TreeViewExpandingEventArgs.Item.get
}
Expand Down
Loading

0 comments on commit 4e1bd92

Please sign in to comment.