/// <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; }
private bool ImplementsActions(StandardActionKinds actions) { return((Value.SupportedActions & actions) != 0); }
private bool ImplementsActions(StandardActionKinds actions) { return (Value.SupportedActions & actions) != 0; }