Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » How To » Downloads
 
Add your own
alternative version

Reading and Writing Configuration Application Block: Enterprise Library 1.0

, 27 Apr 2005
Reading and writing Configuration Application Block.
configuration__src.zip
Configuration Application Block
bin
Configuration Application Block.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll
Configuration Application Block.csproj.webinfo
Global.asax
_vti_cnf
_vti_pvt
access.cnf
deptodoc.btr
doctodep.btr
service.cnf
service.lck
services.cnf
_vti_script
_vti_txt
using System;
using System.Text;
using System.Xml.Serialization;

namespace Configuration_Application_Block
{
	/// <summary>
	/// Summary description for ConfigurationData.
	/// </summary>
	public class FormatSettingData
	{		
		private string  firstName;
		private string  lastName;
		private string	designation;
		private string  filePath;
		private string  name;
		private float   size;
		private int     style;

		public FormatSettingData()
		{          
		}

		public string Name 
		{
			get{ return name; }
			set{ name = value; }
		} 
		public string FirstName 
		{
			get{ return firstName; }
			set{ firstName = value; }
		} 
		public string LastName 
		{
			get{ return lastName; }
			set{ lastName = value; }
		} 
		public string Designation 
		{
			get{ return designation; }
			set{ designation = value; }
		} 
		public string FilePath 
		{
			get{ return filePath; }
			set{ filePath= value; }
		} 
		
		
		public float Size 
		{
			get{ return size; }
			set{ size = value; }
		} 
		
		public int Style 
		{
			get{ return style; }
			set{ style = value; }
		} 

		public override string ToString() 
		{
			StringBuilder sb = new StringBuilder();
			sb.AppendFormat("FirstName = {0}; LastName = {1}; Designation = {2}; FilePath={3}", FirstName.ToString(), LastName.ToString(), Designation.ToString(),FilePath.ToString());
			return sb.ToString();
		}
	}
}

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)

Share

About the Author

santosh poojari
Technical Lead
India India
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 28 Apr 2005
Article Copyright 2005 by santosh poojari
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid