Google Groups Home
Help | Sign in
Property Syntax
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
David Seruyange  
View profile
 More options Jan 11 2007, 1:47 pm
From: "David Seruyange" <david.seruya...@gmail.com>
Date: Thu, 11 Jan 2007 18:47:50 -0000
Local: Thurs, Jan 11 2007 1:47 pm
Subject: Property Syntax
So Scott Hanselman pointed me to the WSCG after I showed him a tool I
maded called "proper" at: http://www.t3rse.com/proper -

I was wondering what WSCG expects for property synax?

Thanks much!

David


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leon Bambrick  
View profile
 More options Jan 11 2007, 6:12 pm
From: "Leon Bambrick" <leonbambr...@gmail.com>
Date: Fri, 12 Jan 2007 09:12:31 +1000
Local: Thurs, Jan 11 2007 6:12 pm
Subject: Re: Property Syntax
http://www.t3rse.com/proper is very nice.

to create some properties in WSCG you could do this:

in the first box, enter the name and type or property on each line:

age, int
name, string

then select "C# properties" from the drop down list.

it will create:

private int m_age;
private string m_name;

public int age
{
get { return m_age; }
set { m_age = value; }

}

public string name
{
get { return m_name; }
set { m_name = value; }

}

...okay actually at the moment it will format this slightly wrong in
terms of line breaks and space -- but the resulting code should be
valid and will compile.

There's also a 'VB.net properties' pattern.

On 12/01/07, David Seruyange <david.seruya...@gmail.com> wrote:

> So Scott Hanselman pointed me to the WSCG after I showed him a tool I
> maded called "proper" at: http://www.t3rse.com/proper -

> I was wondering what WSCG expects for property synax?

> Thanks much!

> David

--
.: http://TimeSnapper.com -- take the worry out of timesheets :.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google