C# - Share Types Between Modular Parts Of Application -
(this not modularity between assemblies modularity between simple c# classes/objects)
application (
c#
) can divided following parts: - components (display results , stuff)
- worker classes work (other thread form or component)
- main form (agent between components , worker classes using events , delegates)
components , worker classes don't have using
dependencies other namespace or class except ones framework.
can't use framework types anymore. need custom classes. how share custom types between parts of application without breaking modularity ? common techniques ?
edit:
- i'm trying use simple types
int
,float
,string
,point
,pointf
, arrays of of them. need add time stamps, quality values, ... - can't convert them because data handled components big , performance must-have
Comments
Post a Comment