예제 #1
0
 public Control(string rawValue, ArgumentCollection arguments) :
     base(DirectiveTypes.Control, arguments)
 {
     this._RawValue        = rawValue;
     this.DirectiveId      = DirectiveHelper.CaptureDirectiveId(rawValue);
     this.BoundDirectiveId = DirectiveHelper.CaptureBoundDirectiveId(rawValue);
     this.Leveling         = LevelingInfo.Create(rawValue);
 }
예제 #2
0
        public Execution(string rawValue, ArgumentCollection arguments) :
            base(DirectiveTypes.Execution, arguments)
        {
            this.Leveling         = LevelingInfo.Create(rawValue);
            this.BoundDirectiveId = DirectiveHelper.CaptureBoundDirectiveId(rawValue);

            string[] controlValueParts =
                rawValue.Split(':');
            this.Bind = Basics.Execution.Bind.Make(string.Join(":", controlValueParts, 1, controlValueParts.Length - 1));
        }
예제 #3
0
        public Control(int rawStartIndex, string rawValue, ArgumentInfoCollection contentArguments, ControlSettings settings) :
            base(rawStartIndex, rawValue, DirectiveTypes.Control, contentArguments)
        {
            this.Settings = settings;

            this.Type = settings.Type;

            this.ControlID      = DirectiveHelper.CaptureControlID(this.Value);
            this.BoundControlID = DirectiveHelper.CaptureBoundControlID(this.Value);
            this.Leveling       = LevelingInfo.Create(this.Value);

            this.Security   = settings.Security;
            this.Bind       = settings.Bind;
            this.Attributes = settings.Attributes;
        }