Example #1
0
 public TermGroupPipeBind(TermGroup termGroup)
 {
     if (!termGroup.IsPropertyAvailable("Id"))
     {
         termGroup.EnsureProperty(t => t.Id);
     }
     _id = termGroup.Id;
 }
 public TermGroupPipeBind(TermGroup termGroup)
 {
     if (!termGroup.IsPropertyAvailable("Id"))
     {
         termGroup.EnsureProperty(t => t.Id);
     }
     _id = termGroup.Id;
 }
        public SPOTermGroup(TermGroup termGroup)
            : base(termGroup)
        {
            _termGroup = termGroup;

            if (_termGroup.IsPropertyAvailable("Description"))
                SetProp("Description", _termGroup.Description, false);
        }
        public SPOTermGroup(TermGroup termGroup) : base(termGroup)
        {
            _termGroup = termGroup;

            if (_termGroup.IsPropertyAvailable("Description"))
            {
                SetProp("Description", _termGroup.Description, false);
            }
        }
        public override void Refresh()
        {
            _termGroup.RefreshLoad();
            _termGroup.Context.ExecuteQuery();
            base.Refresh();

            if (_termGroup.IsPropertyAvailable("Description"))
            {
                SetProp("Description", _termGroup.Description, false);
            }

            _termSets = null;
        }