Click or drag to resize

sampleGroupSet Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

[This is preliminary documentation and is subject to change.]

Set of sample group definitions
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionsampleGroupItem
    System.Collections.ObjectModelObservableCollectionsampleGroupItem
      imbWEM.Core.sampleGroupsampleGroupSet
        imbWEM.Core.sampleGroupsampleGroupSetInPhd

Namespace:  imbWEM.Core.sampleGroup
Assembly:  imbWEM.Core (in imbWEM.Core.dll) Version: 0.3.55
Syntax
C#
public class sampleGroupSet : ObservableCollection<sampleGroupItem>

The sampleGroupSet type exposes the following members.

Constructors
  NameDescription
Public methodsampleGroupSet
Initializes a new instance of the sampleGroupSet class
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionsampleGroupItem.)
Protected propertycountedCollectionName
Public propertycountHasGroup
Public propertycountNoGroup
Number of items without any group association
Public propertydb_groupTagFieldName
Database table field containing group tags
Public propertyisCountCalledYet
Indicating whether [!:setGroupCounts(IRelationEnabledCollection)] called since construction of this instance
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionsampleGroupItem.)
Protected propertyItems (Inherited from CollectionsampleGroupItem.)
Public propertyname
Descriptive name of sample group set
Public propertyTotalCount
Public propertytotalWeight
Total weight of the groups
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionsampleGroupItem.)
Protected methodBlockReentrancy
Disallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodCheckReentrancy
Checks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Public methodClear (Inherited from CollectionsampleGroupItem.)
Public methodclearCounts
Resets all count values to 0
Protected methodClearItems
Removes all items from the collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Public methodContains (Inherited from CollectionsampleGroupItem.)
Public methodCopyTo (Inherited from CollectionsampleGroupItem.)
Protected methodcountTags
Increases count for each sampleGroupItem witch has tag found in tagLine
Public methoddescribe
Describes the sample group to output
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from CollectionsampleGroupItem.)
Protected methodgetGroup
Vraca grupu iz seta grupa na osnovu datog randomResult broja koji ne sme biti veci od zbira weight parametara svake grupe u setu
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionsampleGroupItem.)
Public methodInsert (Inherited from CollectionsampleGroupItem.)
Protected methodInsertItem
Inserts an item into the collection at the specified index.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event with the provided arguments.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionsampleGroupItem.)
Public methodpickRandomGroup
Picks the random group accorting to weight for groups that have isClosed FALSE
Public methodRemove (Inherited from CollectionsampleGroupItem.)
Public methodRemoveAt (Inherited from CollectionsampleGroupItem.)
Protected methodRemoveItem
Removes the item at the specified index of the collection.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected methodsetGroupBorders
Prepares groups for random sample association
Public methodsetGroupCounts
Clears existing counts and searches the complete collection to get current counts
Public methodsetGroupsToCollection
Sets the groups to collection according to policy and defined groups in this set. It will call [!:setGroupCounts(IRelationEnabledCollection)] if isCountCalledYet is false
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from ObservableCollectionsampleGroupItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Inherited from ObservableCollectionsampleGroupItem.)
Protected eventPropertyChanged
Occurs when a property value changes.
(Inherited from ObservableCollectionsampleGroupItem.)
Top
Fields
  NameDescription
Protected fieldrnd
Top
Extension Methods
  NameDescription
Public Extension MethodmakeSqlWhere
Pravi WHERE dodatak SQL upita -
(Defined by sampleGroupEngine.)
Top
See Also