Пример #1
0
        public virtual void WriteTo(YSection section)
        {
            this.Logger.Trace($"executing {nameof(ProjectItem)}.{nameof(this.WriteTo)} ({this.Name})...");

            section.SetNodeAsString("Name", this.Name);
            section.SetNodeAsString("Hint", this.HintPath);
            section.SetNodeAsString("Type", this.GetType().FullName);

            this.Logger.Trace($"completed {nameof(ProjectItem)}.{nameof(this.WriteTo)} ({this.Name})");
        }
Пример #2
0
 public override void WriteTo(YSection section)
 {
     base.WriteTo(section);
     this.Logger.Trace($"executing {nameof(ItemGroup)}.{nameof(this.WriteTo)} ({this.Name})...");
     section.SetNodeAsString("FolderKind", this.Kind.ToString());
     this.Logger.Trace($"completed {nameof(ItemGroup)}.{nameof(this.WriteTo)} ({this.Name})");
 }