initializing stationary objects - formula settlement question


in webapplication (c#, .net 3.5), finished adult core category library (containing business logic, information covering integrate concentration classes), windows use project, webservice digest website project, i have integrate stationary classes core library used projects. classes (for instance log class) need initialization (they have an initialize method) method set adult usage. an example, initialize slight log category office route parameter tells log, where save logfiles to. alternativly i pondering loading "settings" log category settlement record stationary constructor. obstacle is, i need opposite settings unit-testing following prolongation code.



is there improved proceed settlement this? obstacle proceed is, consumers stationary category try initialize. unequivocally problem since once initialized, slight relapse immediately instead executing initialize formula again, nonetheless settlement seems bit uncanny me.



i wish english sufficient explain i'm after. halt ask doubt pristine enough.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?