mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core - Fixed an error when enabling a module without a datamodel
Shared UI - XML comments
This commit is contained in:
1 parent
fb3466e102
commit
833a61ecab
38 files changed
+622
-210
No files matched your search
@@ -3,15 +3,33 @@ using Artemis.Core.DataModelExpansions;
|
||||
using Artemis.Core.Modules;
|
||||
using Artemis.UI.Shared.Input;
|
||||
|
||||
namespace Artemis.UI.Shared.Ninject.Factories
|
||||
namespace Artemis.UI.Shared
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a factory for view models provided by the Artemis Shared UI library
|
||||
/// </summary>
|
||||
public interface ISharedVmFactory
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A factory that allows the creation of data model view models
|
||||
/// </summary>
|
||||
public interface IDataModelVmFactory : ISharedVmFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="DataModelDynamicViewModel" /> class
|
||||
/// </summary>
|
||||
/// <param name="module">The module to associate the dynamic view model with</param>
|
||||
/// <returns>A new instance of the <see cref="DataModelDynamicViewModel" /> class</returns>
|
||||
DataModelDynamicViewModel DataModelDynamicViewModel(Module module);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="DataModelStaticViewModel" /> class
|
||||
/// </summary>
|
||||
/// <param name="targetType">The type of property that is expected in this input</param>
|
||||
/// <param name="targetDescription">The description of the property that this input is for</param>
|
||||
/// <returns>A new instance of the <see cref="DataModelStaticViewModel" /> class</returns>
|
||||
DataModelStaticViewModel DataModelStaticViewModel(Type targetType, DataModelPropertyAttribute targetDescription);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user