c# - Get value of property in dll -
i have project using object dll.
namespace xxx.xxx.xxx.nsi {     [serializable]     [datacontract]     [maybeamplified]     public class gnginfo     {         public gnginfo();         [maxlenvalidator(1000)]         public string name { get; set; }     } }   i need find name specific value example "cargo". ways exist this?
- modify huge dll , replace it. not have source code of dll.
 - rewrite places used 
gnginfoobject implemented not in dll. 
what other ways?
you can implement class mygnginfo inherits gnginfo , implement custom logic. when done, replace gnginfo usages mygnginfo usages.
Comments
Post a Comment