示例#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 InLineStatement(string rawValue, ArgumentCollection arguments) :
            base(DirectiveTypes.InLineStatement, arguments)
        {
            this.DirectiveId      = DirectiveHelper.CaptureDirectiveId(rawValue);
            this.BoundDirectiveId = DirectiveHelper.CaptureBoundDirectiveId(rawValue);

            this._Contents             = new ContentDescription(rawValue);
            this._Cache                = true;
            this._ParametersDefinition = null;
        }