Click or drag to resize
How Do I Set Up and Build a Plugin that Uses Zet Universe
Zet Universe

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

Content is passed to and from Zet Universe as Entities. From a developer’s perspective, Entities are metadata elements, characterized by the Kind and an optional URI as a link to an external resource. From a user’s perspective, Entities (characterized by their Kinds) are everyday things that have semantically appropriate behavior, appearance, and actions. To access Entities in Zet Universe, you need to write a plugin.

Create new C# Project for your Plugin in Visual Studio

  1. Open Visual Studio. From the File menu choose New, then choose Project.

  2. In the Project types pane, open or expand Visual C#, then - Windows, then - Classic Desktop

  3. In the Templates pane, select Class Library.

  4. In the Name box, type a meaningful name for your plugin.

  5. In the Location box, enter the directory in which you want to save the project, or click Browse to navigate to the location.

  6. The project is created and the Visual C# Editor is open showing Class1 of the project.

  7. To work with Zet Universe Kinds, you must add a reference to ZU.Core.Developer NuGet package. To do this, select Manage NuGet Packages... from the Project menu.

  8. Depending on a kind of a plugin you want to build, ZApp or Processor, implement the necessary interface, ZU.Plugins.IZetApp or ZU.Plugins.IZetProcessor, respectively.

Compiling the Code

The MSBuild build environment is integrated into Visual Studio and will automatically create project files with the extension "proj". A C# project file created automatically by Visual Studio has the ".csproj" extension, and a Visual Basic project file created automatically by Visual Studio has the ".vbproj" extension. Use Build menu, and Build Solution menu item to build your project.

See Also