Click or drag to resize

AppletCollection Class

Represents a collection of applets
Inheritance Hierarchy

Namespace:  SanteDB.Core.Applets
Assembly:  SanteDB.Core.Applets (in SanteDB.Core.Applets.dll) Version: 2.2.1
Syntax
public class AppletCollection : IList<AppletManifest>, 
	ICollection<AppletManifest>, IEnumerable<AppletManifest>, IEnumerable, 
	INotifyCollectionChanged

The AppletCollection type exposes the following members.

Constructors
  NameDescription
Public methodAppletCollection
Constructs a new instance of the applet collection
Public methodAppletCollection(String)
Applet collection rewrite to alternate url
Top
Properties
  NameDescription
Public propertyBaseUrl
Gets or sets the base url
Public propertyCachePages
Gets or sets whether caching is enabled
Public propertyCount
Return the count of applets in the collection
Public propertyDefaultApplet
The current default scope applet
Public propertyIsReadOnly
Return true if the collection is readonly
Public propertyItem
Gets or sets the item at the specified element
Public propertyResolver
Asset content resolver called when asset content is null
Public propertyViewStateAssets
Gets a list of all view states of all loaded applets
Public propertyWidgetAssets
Gets a list of all widgets for all loaded applets
Top
Methods
  NameDescription
Public methodAdd
Add an applet manifest to the collection
Public methodAsReadonly
Readonly applet collection
Public methodClear
Clear the collection of applets
Public methodStatic memberClearCaches
Clear all caches
Public methodContains
Returns true if the collection contains the specified item
Public methodCopyTo
Copies the specified collection to the array
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
Get the enumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLazyScripts
Injection for HTML headers
Public methodGetTemplateDefinition
Gets the template definition
Public methodGetTemplateInstance
Get the template instance with the specified parameters
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewModelDescription
Gets the template definition
Public methodIndexOf
Get the index of the specified item
Public methodInsert
Inserts the specified item at the specified index
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterBundle
Register bundle
Public methodRemove
Remove the specified item from the collection
Public methodRemoveAt
Removes the specified item
Public methodRenderAssetContent
Render asset content
Public methodResolveAsset
Resolve the asset
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyDependencies
Verify dependencies are met for the specified applet
Top
Events
  NameDescription
Public eventCollectionChanged
Fired when the collection has changed
Top
Fields
  NameDescription
Public fieldStatic memberAPPLET_SCHEME
Represetns the applet scheme
Protected fieldm_appletManifest
Represents the applet manifests in this collection
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also