Browse by Tags

All Tags » General (RSS)

Recursively Traversing IEnumerable<T> by marianor

Most of the samples I saw about traversing an IEnumerable<T> use recursion, this can cause some overload in the stack depending on the hierarchy depth. The version I propose use a Queue<T> to achieve the same; note that this is I a common...
Filed under:

Getting the default value for a Type by marianor

Sometimes we need to get a default value for an specific type but we only know the type in runtime, then we can not use default(T). One way to do this is to use a simple extension method: public   static   object DefaultValue( this   Type...
Filed under: ,

How to implement Property Changed notification in WPF with a base ViewModel by marianor

Implement property changed notifications is tedious, there are some posts about how to implement it in a strongly-typed way. I decided combine that technique with a way to simplify the implementation of the setter. The first what you need is a base class...
Filed under: ,

Add Service Reference from SO-Aware by marianor

We have recently included a very cool feature to automatically create WCF service references (or service proxies) within Visual Studio 2010 from the SO-Aware repository. After running the installer, you will be able to find a "TellagoStudios.VisualStudio...
Filed under: ,

SO-Aware released – WCF Repository by marianor

Tellago Studios , the company where I am working on, released a great new product called SO-Aware . This is basically a WCF Service Repository that keeps all the configuration centralized. The repository can be accessed through OData feeds, which makes...
Filed under: ,

MOQ 4.0 Beta 3 Released by marianor

We released MOQ 4.0 Beta 3. It was compiled for .NET Framework 3.5 & 4.0 and Silverlight 3 & 4. You can get the binaries here .
Filed under:

MOQ 4.0 Beta 2 released by marianor

We released MOQ 4.0 Beta 2, it includes some fixes over the previous version and the update to DynamicProxy 2.2. It was compiled for .NET Framework 3.5 & 4.0 and Silverlight 3 & 4. You can get the binaries here .
Filed under:

C# Code Snippets for properties raising PropertyChanged event by marianor

I decided to publish the snippets I use to implement properties that raise the PropertyChanged event. There are two code snippets, one generates a property raising the event, it is called by typing propnpc in the code editor, and generates the following...
Filed under:

MOQ 3.5 Beta released by marianor

MOQ 3.5 Beta was released, it includes a lot of fixes of the previous version. You can get the binaries here . If you are using Visual Studio 2010 you should download the version called: Moq 3.5 Beta Binaries and Help (with Castle Assemblies) .
Filed under:

MOQ 3.1 released by marianor

Finally MOQ 3.1 was released, it includes a lot of fixes of the previous version (3.0). You can get the binaries here .
Filed under:
More Posts Next page »