示例#1
0
        /// <summary>
        ///     Verifies that a poller is compatible with this DataStream
        /// </summary>
        /// <param name="poller">The poller to verify</param>
        /// <returns>True if the poller is allowed</returns>
        public virtual bool VerifyPoller(PollingMechanism poller)
        {
            // Don't allow if the poller is built-in
            if (!UsesGenericPollers)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
 /// <summary>
 ///     Clears the selected component
 /// </summary>
 public void ClearChoice()
 {
     _selected = null;
     ListBlockContent();
 }
示例#3
0
 /// <summary>
 ///     Changes the block that is being edited
 /// </summary>
 /// <param name="component">The IConnectable block editing is switching to</param>
 public void SetViewingComponent(PollingMechanism component)
 {
     _selected = component;
     ErrorList.SetComponent(_selected);
     ListBlockContent();
 }