IT Community - Software Programming, Web Development and Technical Support

Easy Property Class Generator for DOTNET Developers

This is a discussion on Easy Property Class Generator for DOTNET Developers within the ASP and ASP.NET Programming forums, part of the Web Development category; hi, i have created a project for creating class..... You have to specify the Namespace,class name, Field and Datatype ........


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 01-09-2008, 09:07 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Default Easy Property Class Generator for C#.NET Developers

hi,
i have created a project for creating class.....

You have to specify the Namespace,class name, Field and Datatype .....create property class


Easy Property Class Generator....sc.JPG




For Example....

using System;
using System.Collections.Generic;
using System.Text;

namespace TestApp
{
public class test
{
//Initializes a new instance of test
public test()
{
}

private int _a;
private int _b;
private string _c;

//Gets or sets the a
public int a
{
get { return _a; }
set { _a = value; }
}

//Gets or sets the b
public int b
{
get { return _b; }
set { _b = value; }
}

//Gets or sets the c
public string c
{
get { return _c; }
set { _c = value; }
}
}
}
__________________
The MOSS
Master of Solution Service

Last edited by Anandavinayagam : 01-10-2008 at 01:13 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-09-2008, 09:46 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Default Re: Easy Property Class Generator for C#.NET Developers

i have attached the source......

EasyTools.zip
__________________
The MOSS
Master of Solution Service

Last edited by Anandavinayagam : 01-10-2008 at 01:14 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-10-2008, 01:07 AM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Re: Easy Property Class Generator for DOTNET Developers

Daammnn great work yaar.... Really nice...
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-10-2008, 10:02 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Default Re: Easy Property Class Generator for DOTNET Developers

Another Version..some enhancements
Allow null values..

private int? _ss;

//Gets or sets the ss
public int? ss
{
get { return _ss; }
set { _ss = value; }
}

Here : EasyTools-1.zip
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 01-16-2008, 02:54 AM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Re: Easy Property Class Generator for DOTNET Developers

Is it possible to provide different variables for local class variables and getter, setter properties?
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Okwebmaster - Professional web developers okwebmaster Introductions 1 07-04-2009 11:55 PM
iPhone development - Step by step for DOTNET / J2ME / Windows Mobile Developers nikhilmathew Iphone 2 11-09-2008 11:46 PM
XML Class Generator for C# using XSD for deserialization santhakumar C# Programming 2 11-20-2007 07:48 AM
Purpose of regexp_label property and regexp_MSW_class property? Shanthi Testing Tools 1 08-10-2007 05:01 AM


All times are GMT -7. The time now is 07:14 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0