Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NETNamespace: Visual3D
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
[SerializableAttribute] public class Registry<TMember> : Registry, IRegistry<TMember>, IRegistry, IRegistered, IHandleProvider, IHasNameID, INamed, IHasUniqueName, IList, ICollection, ICollection<T>, IEnumerable<T>, IEnumerable, IDisposable where TMember : class, IRegistered
<SerializableAttribute> _ Public Class Registry(Of TMember As {Class, IRegistered}) _ Inherits Registry _ Implements IRegistry(Of TMember), IRegistry, IRegistered, _ IHandleProvider, IHasNameID, INamed, IHasUniqueName, IList, _ ICollection, ICollection(Of T), IEnumerable(Of T), IEnumerable, _ IDisposable
Type Parameters
- TMember
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| Registry<(Of <(<'TMember>)>)>()()()() | Initializes a new instance of the Registry<(Of <(<'TMember>)>)> class | |
| Registry<(Of <(<'TMember>)>)>(String) | Initializes a new instance of the Registry<(Of <(<'TMember>)>)> class | |
| Registry<(Of <(<'TMember>)>)>(UniqueID) | Initializes a new instance of the Registry<(Of <(<'TMember>)>)> class | |
| Registry<(Of <(<'TMember>)>)>(String, UniqueID) | Initializes a new instance of the Registry<(Of <(<'TMember>)>)> class | |
| Add(TMember) | ||
| Add(TMember, Boolean) | ||
| AssetID | (Inherited from Registered.) | |
| AssetInfo | (Inherited from Registered.) | |
| AttachedToOwner(IComponentOwner) | (Inherited from EntityComponent.) | |
| BaseAsset | (Inherited from Registered.) | |
| Capacity | ||
| Clear()()()() | Removes all IContentItem's from this registry and ID scope, notifying them of the removal Generally Dispose() should be used instead to dispose of these members as they will no longer have a scope. | |
| ComponentOwner | Owner of this component (contained in it's ".Components" container). (Inherited from EntityComponent.) | |
| Components | Components that are attached to this Entity. (Inherited from ComponentBase.) | |
| ComponentsForGlobalSceneFolders | (Inherited from ComponentBase.) | |
| Contains(Int32) | ||
| Contains(String) | ||
| Contains(TMember) | ||
| Contains(UniqueID) | ||
| Context | Defines the Owner of this component as well as the role (i.e. 'slot') that this component fulfills. (Inherited from ComponentBase.) | |
| Count | ||
| CreateIdentity()()()() | (Inherited from Registered.) | |
| CreateIdentityList()()()() | (Inherited from Registered.) | |
| CreateService<(Of <<'(TService>)>>)()()()() | (Inherited from ComponentBase.) | |
| DetachedFromOwner(IComponentOwner) | (Inherited from EntityComponent.) | |
| Dispose()()()() | Disposes of the registry and all entries within it, then clears the registry of members that didn't remove themselves. | |
| Disposed | (Inherited from ComponentBase.) | |
| Get(Int32, TMember%) | ||
| Get(String, TMember%) | ||
| Get(UniqueID, TMember%) | ||
| GetEnumerator()()()() | ||
| GetGenericEnumerator<(Of <<'(T>)>>)()()()() | ||
| GetItemList()()()() | ||
| GetItemList(Int32) | ||
| GetItemList(Int32, Predicate<(Of <<'(IRegistered>)>>)) | (Overrides Registry..::..GetItemList(Int32, Predicate<(Of <<'(IRegistered>)>>)).) | |
| GetMembers<(Of <<'(T>)>>)()()()() | ||
| GetService<(Of <<'(TService>)>>)()()()() | (Inherited from ComponentBase.) | |
| GetService<(Of <<'(TService>)>>)(TService%) | (Inherited from ComponentBase.) | |
| Handle | (Inherited from Registered.) | |
| HasComponents | (Inherited from ComponentBase.) | |
| HasHandle | (Inherited from Registered.) | |
| HasName | (Inherited from EntityComponent.) | |
| HasScope | (Inherited from Registered.) | |
| HasUniqueName | Gets if a UniqueName is specified to identify this asset with respect to its owner's other members. (Inherited from Registered.) | |
| ID | (Inherited from Registered.) | |
| IDChanged | (Inherited from Registered.) | |
| Identity | ||
| IsDeserialized | Indicates if Instance was created by Deserialization. (Inherited from ComponentBase.) | |
| IsDisposed | Indicates if Dispose() was called for this instance (and it's either in process of Disposing or already fully disposed). (Inherited from ComponentBase.) | |
| IsSaved | Indicates if the component is to be Saved when the owning context is saved
(e.g. for components in your scene, this controls whether or not they are saved to the scene file when the scene is saved).
Typically objects are 'Saved', unless they are transient to be programmatically created each time. (Inherited from ComponentBase.) | |
| IsValidMemberType(Object) | ||
| Item[([( Int32])]) | ||
| Item[([( String])]) | ||
| Item[([( UniqueID])]) | ||
| ItemType | ||
| MemberAdded | ||
| MemberIDChanged | ||
| MemberRemoved | ||
| Members | ||
| MemberUniqueNameChanged | ||
| Name | (Inherited from EntityComponent.) | |
| NameID | (Inherited from EntityComponent.) | |
| OnMemberwiseClone()()()() | (Inherited from ComponentBase.) | |
| OwnerActivated(IComponentOwner) | (Inherited from EntityComponent.) | |
| OwnerDeactivated(IComponentOwner) | (Inherited from EntityComponent.) | |
| OwnerOf<(Of <<'(TOwner>)>>)()()()() | (Inherited from Registered.) | |
| Remove(Int32) | ||
| Remove(String) | ||
| Remove(TMember) | ||
| Remove(UniqueID) | ||
| Replace(TMember) |
Adds specified member to registry. If member with the same handle already exists, swap members
| |
| Replace(TMember, TMember%) |
Adds specified member to registry. If member with the same handle already exists, swap members
| |
| ReplaceHandle(TMember, Int32) |
Repclaces handle for specified member with new one. If member with new handle already exists, swaps members in registry
| |
| ReplaceHandle(TMember, Int32, TMember%) |
Repclaces handle for specified member with new one. If member with new handle already exists, swaps members in registry
| |
| Scope | (Inherited from Registered.) | |
| StorageModule | (Inherited from Registered.) | |
| ToString()()()() | (Inherited from ComponentBase.) | |
| UniqueName | (Inherited from Registered.) |
Inheritance Hierarchy
System..::..Object
Visual3D.EntityModel..::..ComponentBase
Visual3D.EntityModel..::..EntityComponent
Visual3D..::..Registered
Visual3D..::..Registry
Visual3D..::..Registry<(Of <(<'TMember>)>)>
Visual3D..::..StorageModule<(Of <(<'TItem, TModule>)>)>
Visual3D.EntityModel..::..ComponentBase
Visual3D.EntityModel..::..EntityComponent
Visual3D..::..Registered
Visual3D..::..Registry
Visual3D..::..Registry<(Of <(<'TMember>)>)>
Visual3D..::..StorageModule<(Of <(<'TItem, TModule>)>)>