September 26 2007 by
randypatterson in
C#,
Patterns |
Martin Fowler coined the term “FluentInterface” to describe objects that expose an interface that flows, and is designed to be readable and concise. The cost of this fluency is additional effort required to design the interface for your object and the slight increase in complexity. These types of interfaces are often utilized to create configurations [...]
September 23 2007 by
randypatterson in
Events |
This is the inaugural meeting for the Tampa chapter of IASA. In this meeting we will discuss a number of topics about the group and what to expect going forward. We are also fortunate to have a Microsoft Architect Evangelist coming into town to speak. Speaker: Jeff Barnes, Microsoft Architect EvangelistTopic: The Role of [...]
This is one of the most useless unit tests I’ve encountered /// <summary> ///A test for GetByLegalCaseID (int) ///</summary> [TestMethod()] public void GetTicketByLegalCaseID_Test() { TicketEntityModel target = new TicketEntityModel(); int ID = 1; TicketDataSet actual = target.GetByLegalCaseID(ID); Assert.IsNotNull(actual, “TicketDataSet was not returned.”); Assert.IsNotNull(actual.Citation, “No Citation table was returned.”); Assert.IsTrue(actual.Citation.Rows.Count > 0, “No Citation rows [...]
September 19 2007 by
randypatterson in
C# |
The very flexible generic collection List<T> contains several methods that take a predicate as it’s parameter. Coupled with Anonymous Methods this provides powerfully concise code for filtering, searching and sorting your collections. List<Person> People = new List<Person>(); People.Add(new Person("Randy", "Patterson", 40)); People.Add(new Person("John", "Smith", 15)); People.Add(new Person("Caity", "Johnson", 13)); People.Add(new Person("Jody", "Patterson", 39)); People.Add(new Person("Chloe", [...]
September 15 2007 by
randypatterson in
Deals |
Not really related to software development but Instant Conference is one of those gems occasionally found while surfing the tubes. You just give them an email address and you get back a conference number and an access code……..that’s it! The dial in number and access code are dedicated to you and never expire. While [...]
Welcome back to my Blog. I’ve had a blog for awhile but, due to a heavy work load, I haven’t posted anything in over a year. In the past year I’ve implemented many of the principles of GTD to better manage my professional, personal and online time. This will, hopefully, allow me to Work, Live [...]