StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Enhancement Requests
»
Suggestion for serialzing class name to designer
Suggestion for serialzing class name to designer
Post Reply
Like
0
Suggestion for serialzing class name to designer
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg McGuffey
Greg McGuffey
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I'd like to suggest that when serializing a class name to the designer file, like when indicating a BO type or enum type, rather than serializing the name as text, use the GetType(TypeToSerialize).FullName (or the typeof().FullName I think with C#). E.g.
' Old way
ListPopulationSettings1.BusinessObjectType = "MyApp.MyBo"
ListPopulationSettings1.MethodToExecute = "FillAll;MyApp.MyBo"
' Suggested way
ListPopulationSettings1.BusinessObjectType = GetType(MyApp.MyBo).FullName
ListPopulationSettings1.MethodToExecute = "FillAll;" & GetType(MyApp.MyBo).FullName
This would increase the coverage of the types you could obfuscate greatly. Right now, I can't obfuscate any BO, because the type name of the BO is likely reference via plain text in designer files. If there is some way to also do with when indicating methods or properties, such when setting the fill method when setting population settings or setting the bound field.
Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Suggestion for serialzing class name to designer
Greg McGuffey
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search