Exemple #1
0
 /// <summary>
 /// Constructs a class select.
 /// </summary>
 /// <param name="storage">The storage to read from.</param>
 /// <param name="aspect">The data aspect of the class</param>
 public ClassSelect(ClassStorageEngine storage, DataAspect aspect)
 {
     this._Storage = storage;
     this._Aspect  = aspect;
 }
 /// <summary>
 /// Construct class insert.
 /// </summary>
 /// <param name="storage">The storage to use.</param>
 /// <param name="aspect">The aspect to use.</param>
 public ClassInsert(ClassStorageEngine storage, DataAspect aspect)
 {
     this._Storage = storage;
     this._Aspect = aspect;
     this._Values = new LinkedList<AspectMemberValue>();
 }
Exemple #3
0
 /// <summary>
 /// Construct a class storage.
 /// </summary>
 /// <param name="engine">The class storage engine.</param>
 /// <param name="aspect">The data aspect to use.</param>
 public ClassStorage(ClassStorageEngine engine, DataAspect aspect)
 {
     this._Engine = engine;
     this._Aspect = aspect;
     this._Mutex  = new System.Threading.Mutex();
 }
Exemple #4
0
 /// <summary>
 /// Construct class insert.
 /// </summary>
 /// <param name="storage">The storage to use.</param>
 /// <param name="aspect">The aspect to use.</param>
 public ClassInsert(ClassStorageEngine storage, DataAspect aspect)
 {
     this._Storage = storage;
     this._Aspect  = aspect;
     this._Values  = new LinkedList <AspectMemberValue>();
 }
Exemple #5
0
 /// <summary>
 /// Construcs a class member value selection.
 /// </summary>
 /// <param name="storage">The storage to get values from.</param>
 /// <param name="aspect">The aspect of the class.</param>
 /// <param name="name">The name of the member.</param>
 public ClassSelectMember(ClassStorageEngine storage, DataAspect aspect, string name)
     : this(storage, aspect, aspect.GetOrdinalOrException(name))
 {
 }
Exemple #6
0
 /// <summary>
 /// Construcs a class member value selection.
 /// </summary>
 /// <param name="storage">The storage to get values from.</param>
 /// <param name="aspect">The aspect of the class.</param>
 /// <param name="ordinal">The ordinal position of the member.</param>
 public ClassSelectMember(ClassStorageEngine storage, DataAspect aspect, int ordinal)
 {
     this._Storage = storage;
     this._Aspect  = aspect;
     this._Ordinal = ordinal;
 }