Exemple #1
0
        public IObjectValueContainer CreateObjectValueContainer(IWriteableSnapshotStructure targetStructure, IEnumerable <ObjectValue> objects)
        {
            LazyCopyObjectValueContainer container = new LazyCopyObjectValueContainer(targetStructure);

            container.AddAll(objects);
            return(container);
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LazyCopyObjectValueContainer" /> class.
 /// </summary>
 /// <param name="associatedStructure">The associated structure.</param>
 /// <param name="objectContainer">The object container.</param>
 public LazyCopyObjectValueContainer(IWriteableSnapshotStructure associatedStructure, LazyCopyObjectValueContainer objectContainer)
     : base(objectContainer)
 {
     this.associatedStructure = associatedStructure;
 }