Changeset 301 for trunk/CrypPlugins/AES


Ignore:
Timestamp:
May 3, 2009, 1:11:45 PM (13 years ago)
Author:
Thomas Schmid
Message:
  • added support for controller properties. User ControllerProperty to mark properties and fire property changed event.

[ControllerProperty(Direction.Input, "Controller Input", "", DisplayLevel.Beginner)]
public object ControllerInput
{

get { return controllerInput; }
set { controllerInput = value; }

}

private object controllerOutput;

[ControllerProperty(Direction.Output, "Controller Output", "", DisplayLevel.Beginner)]
public object ControllerOutput
{

get { return controllerOutput; }
set { controllerOutput = value; }

}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/AES/AES.cs

    r255 r301  
    320320        }
    321321
     322        private object controllerInput;
     323        [ControllerProperty(Direction.Input, "Controller Input", "", DisplayLevel.Beginner)]
     324        public object ControllerInput
     325        {
     326          get { return controllerInput; }
     327          set { controllerInput = value; }
     328        }
     329
     330        private object controllerOutput;
     331
     332        [ControllerProperty(Direction.Output, "Controller Output", "", DisplayLevel.Beginner)]
     333        public object ControllerOutput
     334        {
     335          get { return controllerOutput; }
     336          set { controllerOutput = value; }
     337        }   
     338
    322339        private void ConfigureAlg(SymmetricAlgorithm alg)
    323340        {
     
    420437        {
    421438            process(settings.Action);
     439            PropertyChanged(this, new PropertyChangedEventArgs("ControllerOutput"));
    422440        }
    423441
Note: See TracChangeset for help on using the changeset viewer.