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); }
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)); }
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; }