예제 #1
0
 protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
 {
     if (IsAssociated)
     {
         return(new DOMComment(XmlComment));
     }
     else
     {
         DOMComment copy = new DOMComment();
         copy.__construct(this._value);
         return(copy);
     }
 }
예제 #2
0
 protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
 {
     if (IsAssociated) return new DOMComment(XmlComment);
     else
     {
         DOMComment copy = new DOMComment();
         copy.__construct(this._value);
         return copy;
     }
 }