Exemplo n.º 1
0
 protected override void MakeDynamic(bool makeStatic)
 {
     base.MakeDynamic(makeStatic);
     if (makeStatic)
     {
         Linkset.MakeStatic(this);
     }
     else
     {
         Linkset.MakeDynamic(this);
     }
 }
Exemplo n.º 2
0
 // When the prim is made dynamic or static, the linkset needs to change.
 protected override void MakeDynamic(bool makeStatic)
 {
     base.MakeDynamic(makeStatic);
     if (Linkset != null) // null can happen during initialization
     {
         if (makeStatic)
         {
             Linkset.MakeStatic(this);
         }
         else
         {
             Linkset.MakeDynamic(this);
         }
     }
 }