Inheritance: PropertySheet
コード例 #1
0
        public override void ImportText(string propertySheetText, string originalFilename)
        {
            if (Root._imports.Any(each => each.FullPath.Equals(originalFilename, StringComparison.CurrentCulture)))
            {
                return;
            }

            var importedSheet = new RootPropertySheet(this);

            importedSheet.ParseText(propertySheetText, originalFilename);
            _imports.Add(importedSheet);
            AddChildRoutes(importedSheet.Routes);
            _view.InitializeAtRootLevel(importedSheet);
        }
コード例 #2
0
 public ImportedSheet(RootPropertySheet root) {
     _root = root;
 }
コード例 #3
0
 internal PropertySheet(RootPropertySheet root)
     : base(root)
 {
     // used by imported sheets to bind themselves to the right root object.
 }
コード例 #4
0
 internal PropertySheet(RootPropertySheet root)
     : base(root)
 {
     // used by imported sheets to bind themselves to the right root object.
 }
コード例 #5
0
        public override void ImportText(string propertySheetText, string originalFilename)
        {
            if(Root._imports.Any(each => each.FullPath.Equals(originalFilename, StringComparison.CurrentCulture))) {
                return;
            }

            var importedSheet = new RootPropertySheet(this);
            importedSheet.ParseText(propertySheetText, originalFilename);
            _imports.Add(importedSheet);
            AddChildRoutes(importedSheet.Routes);
            _view.InitializeAtRootLevel(importedSheet);
        }
コード例 #6
0
ファイル: ObjectNode.cs プロジェクト: kaymccormick/clrplus
 protected ObjectNode(RootPropertySheet root) : this()
 {
     // this is for imported sheets that share the same root.
     Parent   = root;
     Selector = Selector.Empty;
 }
コード例 #7
0
 public ImportedSheet(RootPropertySheet root)
 {
     _root = root;
 }