Click here to Skip to main content
15,896,557 members
Articles / Programming Languages / C#

Creating Extensible and Abstract Layer

Rate me:
Please Sign up or sign in to vote.
2.50/5 (2 votes)
18 Feb 2008CPOL4 min read 24.7K   142   15  
Abstraction and Extensibility are important factors in modern day frameworks. If you are part of any framework team or developing a library that will be used by multiple divisions of your organization or community, you will appreciate what I am talking about.
using System;
using System.Collections.Generic;
using System.Text;

namespace ExtensibleAbstractLayer.Classes
{
    public class CustomerDerived : CustomerBase
    {
        #region IService Members
        public override Response Execute(Request serviceRequest)
        {
            Response response = new Response();
            response.Status = ServiceStatus.Success;
            response.Result = "David";
            return response;
        }
        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Cognizant Technology Solutions
United States United States
Solution Architect working for Cognizant Technology Solutions.

Comments and Discussions