Stories recently tagged with 'Interfaces'

Implementing Interfaces: ICloneable and IComparable(blog.reamped.net)

submitted by kayoskayos(890) 3 years, 11 months ago

A friend of mine was showing me about some common interfaces and some good use cases for them the other day. A discussion arose of how to accurately create a deep copy of an object and the best way to go about it. Shortly after that discussion we got into the Sort() method and how to dictate how that method will sort your objects. This is when he spilled into telling me all about these common interfaces. read more...

1 comment |category: |Views: 63

tags: another

Extension Methods in C# 3.0 + Fluent Interface = Ruby-like syntax(blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years, 4 months ago

Attain highly-readable Ruby-like date syntax with C# 3.0 Extension Methods and Fluent Interface design. read more...

1 comment |category: |Views: 194

tags: another

IHttpContext And Other Interfaces For Your Duck Typing Benefit(haacked.com)

submitted by gavinjoycegavinjoyce(25.7k) 4 years, 5 months ago

Phil Haack has created a number of Interfaces for various classes in the System.Web namespace including IHttpContext, IHttpRequest, IHttpResponse and IHttpSession. This allows us to easily mock these classes for testing and to use our own implementations of the provided framework classes. read more...

add a comment |category: |Views: 111

tags: another

How to build a Fluent Interface in C#(blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years, 5 months ago

Example code illustrating how to build a Fluent Interface in C#. read more...

1 comment |category: |Views: 136

tags: another

Some Groundrules for Interfaces(evanhoff.com)

submitted by ehoffehoff(980) 4 years, 7 months ago

A few groundrules for using interfaces in your code can help maintainability go a long way. read more...

1 comment |category: |Views: 4

tags: another

CoreWeb :: IHeart Interfaces(developer.coreweb.com)

submitted by SengoSengo(50) 5 years, 4 months ago

This article, the first in a series, will catalog, explain, and provide examples of the key interfaces in the .Net framework in the hopes of bridging that gap and making it easier for us to put in practice what we know in theory. read more...

add a comment |category: |Views: 1

tags: another