Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-01-2011, 03:11 PM   PM User | #1
swnsebse
New to the CF scene

 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
swnsebse is an unknown quantity at this point
Accessing Nested static class's static data members

I have few classes those include nested static classes.
Ex.
class Office{

static class Widget{
public static link = new Link();

}

class History{

static class Widget{
public static page= new Page();

}

I call these static data members as-
Office.Widget.link
History.Widget.page

is there any way i can make above 2 line call reusable passing the outer classes (Office/History) as an argument..

Can someone help me with this?
swnsebse is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:20 PM.


Advertisement
Log in to turn off these ads.