====== ThinkGeo.MapSuite.GisEditor.DataRepositoryItem ====== {{section>upgrade_map_suite_to_10.0}} This class represents a data repository item. === Remarks === The instance of this object is used to create a hierarchy object to represent the base map list, data folder etc. ===== Inheritance Hierarchy ===== *System.Object **GalaSoft.MvvmLight.ObservableObject ***GalaSoft.MvvmLight.ViewModelBase ****[[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#DataRepositoryItem()|DataRepositoryItem]] | | | Initializes a new instance of the class. | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Cleanup()|Cleanup]] | | ViewModelBase | | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetRootDataRepositoryItem()|GetRootDataRepositoryItem]] | | | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetSearchResult(IEnumerable)|GetSearchResult]] | IEnumerable | | Gets the search result from its children tree. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#Load()|Load]] | | | Loads current data repository onto active map. | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh()|Refresh]] | | | | | {{wiki:PublicMethod.gif|Public Method}}[[#Rename(String)|Rename]] | String | | | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#VerifyPropertyName(String)|VerifyPropertyName]] | String | ObservableObject | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Broadcast(T, T, String)|Broadcast]] | T, T, String | ViewModelBase | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetSearchResultCore(IEnumerable)|GetSearchResultCore]] | IEnumerable | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#LoadCore()|LoadCore]] | | | Loads current data repository onto active map. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnLoaded(LoadedDataRepositoryItemEventArgs)|OnLoaded]] | [[ThinkGeo.MapSuite.GisEditor.LoadedDataRepositoryItemEventArgs|LoadedDataRepositoryItemEventArgs]] | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnLoading(LoadingDataRepositoryItemEventArgs)|OnLoading]] | [[ThinkGeo.MapSuite.GisEditor.LoadingDataRepositoryItemEventArgs|LoadingDataRepositoryItemEventArgs]] | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRefreshed(EventArgs)|OnRefreshed]] | EventArgs | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRefreshing(CancelEventArgs)|OnRefreshing]] | CancelEventArgs | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RaisePropertyChanged(Expression>)|RaisePropertyChanged]] | Expression> | ObservableObject | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RaisePropertyChanged(String, T, T, Boolean)|RaisePropertyChanged]] | String, T, T, Boolean | ViewModelBase | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RaisePropertyChanged(Expression>, T, T, Boolean)|RaisePropertyChanged]] | Expression>, T, T, Boolean | ViewModelBase | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RaisePropertyChanged(String)|RaisePropertyChanged]] | String | ObservableObject | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RefreshCore()|RefreshCore]] | | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RenameCore(String)|RenameCore]] | String | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Set(Expression>, ref T, T)|Set]] | Expression>, ref T, T | ObservableObject | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Set(String, ref T, T, Boolean)|Set]] | String, ref T, T, Boolean | ViewModelBase | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Set(Expression>, ref T, T, Boolean)|Set]] | Expression>, ref T, T, Boolean | ViewModelBase | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Set(String, ref T, T)|Set]] | String, ref T, T | ObservableObject | | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#CanRemove|CanRemove]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#CanRename|CanRename]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Category|Category]] | String | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Children|Children]] | ObservableCollection<[[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]]> | | Gets the children of this data repository item. | | {{wiki:PublicProperty.gif|Public Property}}[[#Content|Content]] | UserControl | | | | {{wiki:PublicProperty.gif|Public Property}}[[#ContextMenu|ContextMenu]] | ContextMenu | | Gets or sets the context menu of data repository item instance. | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomData|CustomData]] | Dictionary | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Icon|Icon]] | ImageSource | | Gets or sets the icon of data repository item instance. | | {{wiki:PublicProperty.gif|Public Property}}[[#Id|Id]] | String | | | | {{wiki:PublicProperty.gif|Public Property}}[[#IsExpanded|IsExpanded]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#IsInDesignMode|IsInDesignMode]] | Boolean | ViewModelBase | | | {{wiki:PublicProperty.gif|Public Property}}[[#IsLeaf|IsLeaf]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#IsLoadable|IsLoadable]] | Boolean | | Gets a value indicating whether this instance is allow to load onto the map. | | {{wiki:PublicProperty.gif|Public Property}}[[#IsRenaming|IsRenaming]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#IsSelected|IsSelected]] | Boolean | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | | Gets or sets the name of data repository item instance. | | {{wiki:PublicProperty.gif|Public Property}}[[#Parent|Parent]] | [[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]] | | | | {{wiki:PublicProperty.gif|Public Property}}[[#SourcePlugin|SourcePlugin]] | [[ThinkGeo.MapSuite.GisEditor.DataRepositoryPlugin|DataRepositoryPlugin]] | | | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedProperty.gif|Protected Property}}[[#CanRemoveCore|CanRemoveCore]] | Boolean | | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#CanRenameCore|CanRenameCore]] | Boolean | | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#CategoryCore|CategoryCore]] | String | | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#IdCore|IdCore]] | String | | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#IsLeafCore|IsLeafCore]] | Boolean | | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#IsLoadableCore|IsLoadableCore]] | Boolean | | Gets a value indicating whether this instance is allow to load onto the map. | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#MessengerInstance|MessengerInstance]] | IMessenger | ViewModelBase | | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#PropertyChangedHandler|PropertyChangedHandler]] | PropertyChangedEventHandler | ObservableObject | | ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | {{wiki:PublicEvent.gif|Public Event}}[[#Loaded|Loaded]] | [[ThinkGeo.MapSuite.GisEditor.LoadedDataRepositoryItemEventArgs|LoadedDataRepositoryItemEventArgs]] | | | | {{wiki:PublicEvent.gif|Public Event}}[[#Loading|Loading]] | [[ThinkGeo.MapSuite.GisEditor.LoadingDataRepositoryItemEventArgs|LoadingDataRepositoryItemEventArgs]] | | | | {{wiki:PublicEvent.gif|Public Event}}[[#PropertyChanged|PropertyChanged]] | PropertyChangedEventArgs | ObservableObject | | | {{wiki:PublicEvent.gif|Public Event}}[[#Refreshed|Refreshed]] | EventArgs | | | | {{wiki:PublicEvent.gif|Public Event}}[[#Refreshing|Refreshing]] | CancelEventArgs | | | ===== Public Constructors ===== ==== DataRepositoryItem() ==== Initializes a new instance of the class. === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ===== Public Methods ===== ==== Cleanup() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetRootDataRepositoryItem() ==== === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]] | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetSearchResult(IEnumerable) ==== Gets the search result from its children tree. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]]> | A set of data repository that matches the keywords. | === Parameters === ^ Name ^ Type ^ Description ^ | keywords | IEnumerable | The keywords. | [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Load() ==== Loads current data repository onto active map. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Refresh() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Rename(String) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | newName | String | | [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== VerifyPropertyName(String) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyName | String | | [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Broadcast(T, T, String) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | oldValue | T | | | newValue | T | | | propertyName | String | | [[#Protected Methods|Go Back]] ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== GetSearchResultCore(IEnumerable) ==== === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]]> | | === Parameters === ^ Name ^ Type ^ Description ^ | keywords | IEnumerable | | [[#Protected Methods|Go Back]] ==== LoadCore() ==== Loads current data repository onto active map. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== OnLoaded(LoadedDataRepositoryItemEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.GisEditor.LoadedDataRepositoryItemEventArgs|LoadedDataRepositoryItemEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnLoading(LoadingDataRepositoryItemEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.GisEditor.LoadingDataRepositoryItemEventArgs|LoadingDataRepositoryItemEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnRefreshed(EventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | EventArgs | | [[#Protected Methods|Go Back]] ==== OnRefreshing(CancelEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | CancelEventArgs | | [[#Protected Methods|Go Back]] ==== RaisePropertyChanged(Expression>) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyExpression | Expression> | | [[#Protected Methods|Go Back]] ==== RaisePropertyChanged(String, T, T, Boolean) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyName | String | | | oldValue | T | | | newValue | T | | | broadcast | Boolean | | [[#Protected Methods|Go Back]] ==== RaisePropertyChanged(Expression>, T, T, Boolean) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyExpression | Expression> | | | oldValue | T | | | newValue | T | | | broadcast | Boolean | | [[#Protected Methods|Go Back]] ==== RaisePropertyChanged(String) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyName | String | | [[#Protected Methods|Go Back]] ==== RefreshCore() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== RenameCore(String) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | newName | String | | [[#Protected Methods|Go Back]] ==== Set(Expression>, ref T, T) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyExpression | Expression> | | | field | ref T | | | newValue | T | | [[#Protected Methods|Go Back]] ==== Set(String, ref T, T, Boolean) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyName | String | | | field | ref T | | | newValue | T | | | broadcast | Boolean | | [[#Protected Methods|Go Back]] ==== Set(Expression>, ref T, T, Boolean) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyExpression | Expression> | | | field | ref T | | | newValue | T | | | broadcast | Boolean | | [[#Protected Methods|Go Back]] ==== Set(String, ref T, T) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | propertyName | String | | | field | ref T | | | newValue | T | | [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== CanRemove ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== CanRename ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== Category ==== === Return Value === ^ Return Type ^ | String | [[#Public Properties|Go Back]] ==== Children ==== Gets the children of this data repository item. === Return Value === ^ Return Type ^ | ObservableCollection<[[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]]> | [[#Public Properties|Go Back]] ==== Content ==== === Return Value === ^ Return Type ^ | UserControl | [[#Public Properties|Go Back]] ==== ContextMenu ==== Gets or sets the context menu of data repository item instance. === Return Value === ^ Return Type ^ | ContextMenu | [[#Public Properties|Go Back]] ==== CustomData ==== === Return Value === ^ Return Type ^ | Dictionary | [[#Public Properties|Go Back]] ==== Icon ==== Gets or sets the icon of data repository item instance. === Return Value === ^ Return Type ^ | ImageSource | [[#Public Properties|Go Back]] ==== Id ==== === Return Value === ^ Return Type ^ | String | [[#Public Properties|Go Back]] ==== IsExpanded ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== IsInDesignMode ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== IsLeaf ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== IsLoadable ==== Gets a value indicating whether this instance is allow to load onto the map. === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== IsRenaming ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== IsSelected ==== === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== Name ==== Gets or sets the name of data repository item instance. === Return Value === ^ Return Type ^ | String | [[#Public Properties|Go Back]] ==== Parent ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.GisEditor.DataRepositoryItem|DataRepositoryItem]] | [[#Public Properties|Go Back]] ==== SourcePlugin ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.GisEditor.DataRepositoryPlugin|DataRepositoryPlugin]] | [[#Public Properties|Go Back]] ===== Protected Properties ===== ==== CanRemoveCore ==== === Return Value === ^ Return Type ^ | Boolean | [[#Protected Properties|Go Back]] ==== CanRenameCore ==== === Return Value === ^ Return Type ^ | Boolean | [[#Protected Properties|Go Back]] ==== CategoryCore ==== === Return Value === ^ Return Type ^ | String | [[#Protected Properties|Go Back]] ==== IdCore ==== === Return Value === ^ Return Type ^ | String | [[#Protected Properties|Go Back]] ==== IsLeafCore ==== === Return Value === ^ Return Type ^ | Boolean | [[#Protected Properties|Go Back]] ==== IsLoadableCore ==== Gets a value indicating whether this instance is allow to load onto the map. === Return Value === ^ Return Type ^ | Boolean | [[#Protected Properties|Go Back]] ==== MessengerInstance ==== === Return Value === ^ Return Type ^ | IMessenger | [[#Protected Properties|Go Back]] ==== PropertyChangedHandler ==== === Return Value === ^ Return Type ^ | PropertyChangedEventHandler | [[#Protected Properties|Go Back]] ===== Public Events ===== ==== Loaded ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.GisEditor.LoadedDataRepositoryItemEventArgs|LoadedDataRepositoryItemEventArgs]] | [[#Public Events|Go Back]] ==== Loading ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.GisEditor.LoadingDataRepositoryItemEventArgs|LoadingDataRepositoryItemEventArgs]] | [[#Public Events|Go Back]] ==== PropertyChanged ==== === Event Arguments === ^ Event Arguments ^ | PropertyChangedEventArgs | [[#Public Events|Go Back]] ==== Refreshed ==== === Event Arguments === ^ Event Arguments ^ | EventArgs | [[#Public Events|Go Back]] ==== Refreshing ==== === Event Arguments === ^ Event Arguments ^ | CancelEventArgs | [[#Public Events|Go Back]] __NOTOC__ [[Category:GisEditorInfrastructure]] [[Category:ThinkGeo.MapSuite.GisEditor]] [[Category:UpdateDocumentation]]