Ejemplo n.º 1
0
 public virtual BaseObjectData MergeWith(BaseObjectData data)
 {
     foreach (MethodData method in data.Methods.Values)
     {
         this.AddMethod(method);
     }
     return(this);
 }
Ejemplo n.º 2
0
        public override BaseObjectData MergeWith(BaseObjectData data)
        {
            FormData fData = (FormData)data;

            // merge methods
            foreach (MethodData m in fData.Methods.Values)
            {
                this.AddMethod(m);
            }

            // merge controls
            foreach (ControlData control in fData.Controls.Values)
            {
                this.AddControl(control);
            }

            // merge data sources
            foreach (DataSourceData ds in fData.DataSources.Values)
            {
                this.AddDataSource(ds);
            }

            return(this);
        }
Ejemplo n.º 3
0
 public override BaseObjectData MergeWith(BaseObjectData data)
 {
     lineCount       = data.LineCount;
     lineCountOfFile = data.LineCountOfFile;
     return(this);
 }