projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fda04
)
Added BindingFlags modifier to search and register only the properties declared on...
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
src/Tizen.NUI/src/public/CustomViewRegistry.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/public/CustomViewRegistry.cs
b/src/Tizen.NUI/src/public/CustomViewRegistry.cs
index
2a5763a
..
37180f9
100644
(file)
--- a/
src/Tizen.NUI/src/public/CustomViewRegistry.cs
+++ b/
src/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)