/// <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>(); }
/// <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(); }
/// <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>(); }
/// <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)) { }
/// <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; }