Ejemplo n.º 1
0
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            RemoveBehaviorElement element = (RemoveBehaviorElement)from;

            this.Name = element.Name;
        }
Ejemplo n.º 2
0
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            RemoveBehaviorElement source = (RemoveBehaviorElement)from;

#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
            this.Name = source.Name;
        }