Exemplo n.º 1
0
 /// <summary>
 /// Enables derived types to create a new instance of DynamicObject.  DynamicObject instances
 /// cannot be directly instantiated because they have no implementation of dynamic behavior.
 /// </summary>
 /// <param name="supportedActions">The list of actions that are supported.</param>
 protected DynamicObject(StandardActionKinds supportedActions)
 {
     _supportedActions = supportedActions;
 }
Exemplo n.º 2
0
 private bool ImplementsActions(StandardActionKinds actions)
 {
     return((Value.SupportedActions & actions) != 0);
 }
Exemplo n.º 3
0
 private bool ImplementsActions(StandardActionKinds actions)
 {
     return (Value.SupportedActions & actions) != 0;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Enables derived types to create a new instance of DynamicObject.  DynamicObject instances
 /// cannot be directly instantiated because they have no implementation of dynamic behavior.
 /// </summary>
 /// <param name="supportedActions">The list of actions that are supported.</param>
 protected DynamicObject(StandardActionKinds supportedActions)
 {
     _supportedActions = supportedActions;
 }