¡@

Home 

c# Programming Glossary: bastard

General type conversion without risking Exceptions

http://stackoverflow.com/questions/2111280/general-type-conversion-without-risking-exceptions

So I dont know what to As and Is to EDIT Ok nailed the bastard. Its not as tidy as Marc Gravells but it works I hope . Thanks..

Is there an alternative to bastard injection? (AKA poor man's injection via default constructor)

http://stackoverflow.com/questions/6733667/is-there-an-alternative-to-bastard-injection-aka-poor-mans-injection-via-defa

there an alternative to bastard injection AKA poor man's injection via default constructor .. via default constructor I most commonly am tempted to use bastard injection in a few cases. When I have a proper dependency injection.. I can never find a better option than to write a default bastard constructor with the most likely needed dependency public ThingMaker..