~zeitgeist-project/zeitgeist/ZeitgeistSharp

« back to all changes in this revision

Viewing changes to src/ZeitgeistSharp.DataModel/Core.cs

  • Committer: tehk
  • Date: 2010-04-06 18:34:13 UTC
  • Revision ID: tehk@tehk-desktop-20100406183413-cn9yiubktzqkmxmc
Working on payloads

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
        /// </summary>
216
216
        public byte[] Payload {
217
217
            get { return this.event_struct.payload;}
 
218
            set {
 
219
                this.event_struct.payload = new byte[value.Length];
 
220
                Array.Copy(value, this.event_struct.payload, value.Length);
 
221
                }
218
222
        }
219
223
 
220
224
        /// <summary>
254
258
            this.event_struct.subjects[i] = this.Subjects[i].GetStruct();
255
259
            }
256
260
            return this.event_struct;
257
 
 
258
261
        }
259
262
 
260
263
        /// <summary>