projects
/
platform
/
core
/
csapi
/
nui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185e738
)
Added BindingFlags modifier to search and register only the properties declared on...
77/135977/1
author
Umar
<m.umar@partner.samsung.com>
Tue, 27 Jun 2017 19:01:08 +0000
(20:01 +0100)
committer
Umar
<m.umar@partner.samsung.com>
Tue, 27 Jun 2017 19:01:08 +0000
(20:01 +0100)
Change-Id: I2540920d4d2171c3f30eaf532deb1e3d014d1c99
Tizen.NUI/src/public/CustomViewRegistry.cs
patch
|
blob
|
history
diff --git
a/Tizen.NUI/src/public/CustomViewRegistry.cs
b/Tizen.NUI/src/public/CustomViewRegistry.cs
index
2a5763a
..
37180f9
100644
(file)
--- a/
Tizen.NUI/src/public/CustomViewRegistry.cs
+++ b/
Tizen.NUI/src/public/CustomViewRegistry.cs
@@
-280,7
+280,7
@@
namespace Tizen.NUI
TypeRegistration.RegisterControl(viewType.Name, _createCallback);
// Cycle through each property in the class
- foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties())
+ foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties(
BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public
))
{
if (propertyInfo.CanRead)