create new class library guides
parent
086a47010e
commit
3fe81c9581
@ -0,0 +1,35 @@
|
||||
# Create New Class Library Guides
|
||||
|
||||
## Basic Dependencies
|
||||
- Microsoft.Practices.Prism
|
||||
- Microsoft.Practices.Prism.MefExtensions
|
||||
- Framework Assemblies
|
||||
- PresentationCore
|
||||
- PresentationFramework
|
||||
- WindowsBase
|
||||
- Projects
|
||||
- MitechLib.Infrastructure
|
||||
|
||||

|
||||
|
||||
## Steps
|
||||
1. Add all the basic dependencies
|
||||
2. Create a module class with `IModule` interface
|
||||
|
||||
```cs
|
||||
using Microsoft.Practices.Prism.Modularity;
|
||||
|
||||
namespace MitechLib.Product.PackagePage
|
||||
{
|
||||
public class ProductPackagePage : IModule
|
||||
{
|
||||
public void Initialize()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
3. Create Views & ViewModels Folder
|
||||
4. Create desired View & ViewModel [Tutorial](view-viewmodel.md)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Loading…
Reference in New Issue