Пример #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;
 }
Пример #2
0
 private bool ImplementsActions(StandardActionKinds actions)
 {
     return((Value.SupportedActions & actions) != 0);
 }
Пример #3
0
 private bool ImplementsActions(StandardActionKinds actions)
 {
     return (Value.SupportedActions & actions) != 0;
 }
Пример #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;
 }