Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: remoting channel woes Pin
qek27-Oct-03 10:14
qek27-Oct-03 10:14 
GeneralRe: remoting channel woes Pin
Heath Stewart27-Oct-03 10:23
protectorHeath Stewart27-Oct-03 10:23 
GeneralRe: remoting channel woes Pin
qek27-Oct-03 10:50
qek27-Oct-03 10:50 
GeneralRe: remoting channel woes Pin
Heath Stewart27-Oct-03 10:53
protectorHeath Stewart27-Oct-03 10:53 
GeneralRe: remoting channel woes Pin
qek27-Oct-03 11:46
qek27-Oct-03 11:46 
Generalcustom attribute question Pin
sharkfish17-Oct-03 9:32
sharkfish17-Oct-03 9:32 
GeneralRe: custom attribute question Pin
Alex Korchemniy17-Oct-03 10:49
Alex Korchemniy17-Oct-03 10:49 
GeneralRe: custom attribute question Pin
sharkfish17-Oct-03 11:31
sharkfish17-Oct-03 11:31 
Is there a way to set a property of a property, at runtime, then?

This is what I REALLY want to do, but I believe this is not possible:
<br />
<br />
<br />
[AttributeUsage(AttributeTarget.Property,Inherited=true,AllowMultiple=true)]<br />
public class SecurityInfoAttribute : Attribute<br />
{<br />
  // Private Data<br />
  private int readable;<br />
  private int writable;<br />
<br />
<br />
  // Constructor<br />
  public SecurityInfoAttribute(int readable, int writable)<br />
  {<br />
    this.security_readable = 0;<br />
    this.security_writable = 0;<br />
<br />
  }<br />
<br />
  public int Readable<br />
  {<br />
    get<br />
    {<br />
      return readable;<br />
    }<br />
    set<br />
    {<br />
      readable = value;<br />
     }<br />
  }<br />
<br />
  public int Writable<br />
  {<br />
    get<br />
    {<br />
      return writable;<br />
    }<br />
    set<br />
    {<br />
       writable = value;<br />
    }<br />
  }<br />
<br />
<br />
}<br />
<br />
<br />
<br />
public class employee {<br />
<br />
string name;<br />
[SecurityInfo(getReadSecurityInfo(userId), getWriteSecurityInfo(userId))]<br />
string Name{get{return name;}set{name = value;}}<br />
<br />
<br />
<br />
} <br />

GeneralDataGrid and ArrayList Pin
Wjousts17-Oct-03 8:26
Wjousts17-Oct-03 8:26 
GeneralRe: DataGrid and ArrayList Pin
Daniel M. Edwards17-Oct-03 16:59
Daniel M. Edwards17-Oct-03 16:59 
GeneralRe: DataGrid and ArrayList Pin
Heath Stewart18-Oct-03 10:49
protectorHeath Stewart18-Oct-03 10:49 
GeneralUnrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy17-Oct-03 6:45
MtnBiknGuy17-Oct-03 6:45 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
Daniel Turini17-Oct-03 7:08
Daniel Turini17-Oct-03 7:08 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
leppie17-Oct-03 9:33
leppie17-Oct-03 9:33 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy17-Oct-03 16:18
MtnBiknGuy17-Oct-03 16:18 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
Anonymous17-Oct-03 18:24
Anonymous17-Oct-03 18:24 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy18-Oct-03 3:55
MtnBiknGuy18-Oct-03 3:55 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy20-Oct-03 14:15
MtnBiknGuy20-Oct-03 14:15 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
leppie21-Oct-03 8:48
leppie21-Oct-03 8:48 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy21-Oct-03 10:08
MtnBiknGuy21-Oct-03 10:08 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
Andy Davey17-Oct-03 10:55
Andy Davey17-Oct-03 10:55 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy17-Oct-03 16:02
MtnBiknGuy17-Oct-03 16:02 
GeneralXML Complex Types Pin
pahluwalia17-Oct-03 6:27
pahluwalia17-Oct-03 6:27 
Generaladd &quot;user&quot; to &quot;COM+ security role&quot; programmatically Pin
Norman Fung17-Oct-03 6:14
Norman Fung17-Oct-03 6:14 
GeneralURGENT, Help me please !!!!!!!! Pin
god4k17-Oct-03 6:02
god4k17-Oct-03 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.