Click here to Skip to main content
Click here to Skip to main content

Evolving Responsible, Self-Describing Components

By , 25 Apr 2008
 
/*
 * Copyright 2008 Oculo Consulting Limited
 * 
*/
using System;

namespace ResponsibilitiesExample
{
    public struct Message : IMessage
    {
        #region Private Fields

        private string _content;

        #endregion

        #region Constructors

        public Message(string content)
        {
            _content = content;
        }

        #endregion

        #region IMessage Members

        string IMessage.Content
        {
            get
            {
                return _content;
            }
        }

        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of use 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)

About the Author

Matthew Cannon
Software Developer (Senior) Oculo Consulting Limited
United Kingdom United Kingdom
Member
Matthew Cannon is a software developer and architect who has for the last 10 years focused on object-oriented design. His areas of interest are OOD, patterns, Agile practices, C# and all things .Net.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 25 Apr 2008
Article Copyright 2008 by Matthew Cannon
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid