Properties
Proxies
#Enumerate over all proxies which the user is allowed to browse. Objects belonging to a fleeting plugin are omitted — see FleetingPlugins — as are they from Chapters and from Search(string[], bool, bool, Maths.MaximumSearchMultiple<object>).
Methods
CreateOverlappingParameter
#Create a new standard parameter which is compatible with all given parameters.
Parameters:
| parameters (IEnumerable<IParameter>) |
Describe
#public static string Describe(Guid id, NameDescription name, TypeDescription type, string fallback = null)
Describe an object.
Parameters:
| id (Guid) | |
| name (NameDescription) | |
| type (TypeDescription) | |
| fallback (string = null) |
IsKnownId
#Gets whether a specific ObjectId has been registered with this server.
Parameters:
| id (Guid) |
RegisterMigrator
#Add a new migrator instance to this server.
Parameters:
| migrator (object) | Migrator instance. |
Returns: True if the migrator was added, false if one for the same id was registered already.
RegisterMigrator
#Add a new migrator type to this server.
Parameters:
| migratorType (Type) | Type of migrator class. |
Returns: True if migrator was added.
RegisterObject
#Add a new object type to this server.
RegisterProxy
#Register a custom proxy. You only need this method if your components are not compiled as part of your plugin.
Parameters:
| objectProxy (ObjectProxy) | Custom object proxy to add. |
Returns: True if the proxy was added.
Search
#public static void Search(string[] queryFragments, bool includeHidden, bool includeObsolete, MaximumSearchMultiple<object> results)
Search all proxies and append them to a result.
Parameters:
| queryFragments (string[]) | Clean search query terms. |
| includeHidden (bool) | If true, hidden objects will be included in the search. |
| includeObsolete (bool) | If true, obsolete objects will be included in the search. |
| results (Maths.MaximumSearchMultiple<object>) | Result to append ObjectProxy instances to. |
StandardParameterIoId
#Gets the IoIdAttribute of the parameter type which provides supports for the given type constraint. This method only returns basic parameters. The following types can be used to indicate "special" parameters:
Parameters:
| parameters (IEnumerable<IParameter>) |
StandardParameterIoId
#Gets the IoIdAttribute of the parameter type which provides supports for the given type constraint. This method only returns basic parameters. The following types can be used to indicate "special" parameters:
Parameters:
| constraint (Type) |
TryEmit<T>
#Try and create an instance of an IDocumentObject via its IoIdAttribute value.
Parameters:
| ioid (Guid) |