-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from egvijayanand/working
Generic and MVVM Item Templates
Showing
23 changed files
with
671 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/FormsTemplatesCLI/FormsItem/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"namespace": { | ||
"shortName": "na" | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/FormsTemplatesCLI/FormsItem/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host" | ||
} |
99 changes: 99 additions & 0 deletions
99
src/FormsTemplatesCLI/FormsItem/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/template", | ||
"author": "Vijay Anand E G", | ||
"defaultName": "FormsItem1", | ||
"classifications": [ | ||
"Xamarin", | ||
"Android", | ||
"iOS", | ||
"macOS", | ||
"Windows", | ||
"Xaml" | ||
], | ||
"identity": "VijayAnand.FormsItem", | ||
"groupIdentity": "VijayAnand.FormsTemplates.Item.Xaml", | ||
"description": "An item template for Xamarin.Forms Item in XAML", | ||
"name": "Xamarin.Forms Item", | ||
"shortName": "forms-item", | ||
"sourceName": "FormsItem.1", | ||
"primaryOutputs": [ | ||
{ | ||
"path": "FormsItem.1.xaml" | ||
}, | ||
{ | ||
"condition": "(!XamlOnly)", | ||
"path": "FormsItem.1.xaml.cs" | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "item" | ||
}, | ||
"symbols": { | ||
"base": { | ||
"isRequired": true, | ||
"type": "parameter", | ||
"description": "Base type for the item.", | ||
"datatype": "text", | ||
"replaces": "ContentPage" | ||
}, | ||
"generic": { | ||
"type": "parameter", | ||
"description": "Generic base type for the item.", | ||
"datatype": "text", | ||
"defaultValue": "", | ||
"replaces": "TObject" | ||
}, | ||
"namespace": { | ||
"type": "parameter", | ||
"datatype": "text", | ||
"description": "namespace for the generated code", | ||
"replaces": "MyApp.Namespace" | ||
}, | ||
"xaml-only": { | ||
"type": "parameter", | ||
"datatype": "bool", | ||
"default": "false", | ||
"description": "If true, the output is generated without a C# code-behind file." | ||
}, | ||
"TypeRename": { | ||
"type": "derived", | ||
"valueSource": "base", | ||
"valueTransform": "ValueWithoutScope", | ||
"replaces": "ContentView" | ||
}, | ||
"ContextRename": { | ||
"type": "derived", | ||
"valueSource": "generic", | ||
"valueTransform": "ValueWithoutScope", | ||
"replaces": "TContext" | ||
}, | ||
"IsGeneric": { | ||
"type": "computed", | ||
"value": "(generic != \"\")" | ||
}, | ||
"XamlOnly": { | ||
"type": "computed", | ||
"value": "(xaml-only)" | ||
} | ||
}, | ||
"forms": { | ||
"ValueWithoutScope": { | ||
"identifier": "replace", | ||
"pattern": "^.*\\:(?=[^\\:]+$)", | ||
"replacement": "" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"modifiers": [ | ||
{ | ||
"condition": "(XamlOnly)", | ||
"exclude": [ | ||
"FormsItem.1.xaml.cs" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!--#if (XamlOnly)--> | ||
<?xaml-comp compile="true" ?> | ||
<!--#if (IsGeneric)--> | ||
<ContentPage | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
x:TypeArguments="TObject" | ||
mc:Ignorable="d"> | ||
</ContentPage> | ||
<!--#else--> | ||
<ContentPage | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
mc:Ignorable="d"> | ||
</ContentPage> | ||
<!--#endif--> | ||
<!--#else--> | ||
<!--#if (IsGeneric)--> | ||
<ContentPage | ||
x:Class="MyApp.Namespace.FormsItem__1" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
x:TypeArguments="TObject" | ||
mc:Ignorable="d"> | ||
</ContentPage> | ||
<!--#else--> | ||
<ContentPage | ||
x:Class="MyApp.Namespace.FormsItem__1" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
mc:Ignorable="d"> | ||
</ContentPage> | ||
<!--#endif--> | ||
<!--#endif--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Xamarin.Forms; | ||
using Xamarin.Forms.Xaml; | ||
|
||
namespace MyApp.Namespace | ||
{ | ||
[XamlCompilation(XamlCompilationOptions.Compile)] | ||
#if IsGeneric | ||
public partial class FormsItem__1 : ContentView<TContext> | ||
#else | ||
public partial class FormsItem__1 : ContentView | ||
#endif | ||
{ | ||
public FormsItem__1() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/FormsTemplatesCLI/FormsItemCS/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"namespace": { | ||
"shortName": "na" | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/FormsTemplatesCLI/FormsItemCS/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host" | ||
} |
54 changes: 54 additions & 0 deletions
54
src/FormsTemplatesCLI/FormsItemCS/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/template", | ||
"author": "Vijay Anand E G", | ||
"defaultName": "FormsItem1", | ||
"classifications": [ | ||
"Xamarin", | ||
"Android", | ||
"iOS", | ||
"macOS", | ||
"Windows", | ||
"Code" | ||
], | ||
"identity": "VijayAnand.FormsItemCS", | ||
"groupIdentity": "VijayAnand.FormsTemplates.Item.Code", | ||
"description": "An item template for Xamarin.Forms Item in C#", | ||
"name": "Xamarin.Forms Item (C#)", | ||
"shortName": "forms-item-cs", | ||
"sourceName": "FormsItem.1", | ||
"primaryOutputs": [ | ||
{ | ||
"path": "FormsItem.1.cs" | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "item" | ||
}, | ||
"symbols": { | ||
"base": { | ||
"isRequired": true, | ||
"type": "parameter", | ||
"description": "Base type for the item.", | ||
"datatype": "text", | ||
"replaces": "ContentPage" | ||
}, | ||
"generic": { | ||
"type": "parameter", | ||
"description": "Generic base type for the item.", | ||
"datatype": "text", | ||
"defaultValue": "", | ||
"replaces": "TObject" | ||
}, | ||
"namespace": { | ||
"type": "parameter", | ||
"datatype": "text", | ||
"description": "namespace for the generated code", | ||
"replaces": "MyApp.Namespace" | ||
}, | ||
"IsGeneric": { | ||
"type": "computed", | ||
"value": "(generic != \"\")" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Xamarin.Forms; | ||
|
||
namespace MyApp.Namespace | ||
{ | ||
#if IsGeneric | ||
public partial class FormsItem__1 : ContentPage<TObject> | ||
#else | ||
public partial class FormsItem__1 : ContentPage | ||
#endif | ||
{ | ||
public FormsItem__1() | ||
{ | ||
|
||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/FormsTemplatesCLI/FormsMvvm/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"namespace": { | ||
"shortName": "na" | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/FormsTemplatesCLI/FormsMvvm/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host" | ||
} |
70 changes: 70 additions & 0 deletions
70
src/FormsTemplatesCLI/FormsMvvm/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/template", | ||
"author": "Vijay Anand E G", | ||
"defaultName": "Forms1", | ||
"classifications": [ | ||
"Xamarin", | ||
"Android", | ||
"iOS", | ||
"macOS", | ||
"Windows", | ||
"MVVM", | ||
"Xaml" | ||
], | ||
"identity": "VijayAnand.FormsMvvm", | ||
"groupIdentity": "VijayAnand.FormsTemplates.Mvvm.Xaml", | ||
"description": "An item template for Xamarin.Forms ContentPage in XAML and its ViewModel", | ||
"name": "Xamarin.Forms ContentPage and ViewModel", | ||
"shortName": "forms-mvvm", | ||
"sourceName": "Forms.1", | ||
"primaryOutputs": [ | ||
{ | ||
"path": "Forms.1Page.xaml" | ||
}, | ||
{ | ||
"path": "Forms.1Page.xaml.cs" | ||
}, | ||
{ | ||
"path": "Forms.1ViewModel.cs" | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "item" | ||
}, | ||
"sources": [ | ||
{ | ||
"condition": "(SameFolder)", | ||
"include": [ | ||
"**/*" | ||
] | ||
}, | ||
{ | ||
"condition": "(!SameFolder)", | ||
"rename": { | ||
"Forms.1Page.xaml": "Views/Forms.1Page.xaml", | ||
"Forms.1Page.xaml.cs": "Views/Forms.1Page.xaml.cs", | ||
"Forms.1ViewModel.cs": "ViewModels/Forms.1ViewModel.cs" | ||
} | ||
} | ||
], | ||
"symbols": { | ||
"namespace": { | ||
"type": "parameter", | ||
"datatype": "text", | ||
"description": "namespace for the generated code", | ||
"replaces": "MyApp.Namespace" | ||
}, | ||
"same-folder": { | ||
"type": "parameter", | ||
"datatype": "bool", | ||
"defaultValue": "false", | ||
"description": "Option to create the artifacts in the same folder.", | ||
"displayName": "Option to create the artifacts in the same folder" | ||
}, | ||
"SameFolder": { | ||
"type": "computed", | ||
"value": "(same-folder)" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!--#if (SameFolder)--> | ||
<ContentPage | ||
x:Class="MyApp.Namespace.Forms__1Page" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
xmlns:vm="clr-namespace:MyApp.Namespace" | ||
x:DataType="vm:Forms__1ViewModel" | ||
mc:Ignorable="d"> | ||
<!--#else--> | ||
<ContentPage | ||
x:Class="MyApp.Namespace.Views.Forms__1Page" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:MyApp.Namespace" | ||
xmlns:vm="clr-namespace:MyApp.Namespace.ViewModels" | ||
x:DataType="vm:Forms__1ViewModel" | ||
mc:Ignorable="d"> | ||
<!--#endif--> | ||
<ContentPage.Content> | ||
<Grid> | ||
<Label | ||
HorizontalOptions="Center" | ||
Text="Welcome to Xamarin.Forms!!!" | ||
TextColor="Purple" | ||
VerticalOptions="Center" /> | ||
</Grid> | ||
</ContentPage.Content> | ||
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Xamarin.Forms; | ||
using Xamarin.Forms.Xaml; | ||
|
||
#if (!SameFolder) | ||
using MyApp.Namespace.ViewModels; | ||
|
||
#endif | ||
#if SameFolder | ||
namespace MyApp.Namespace | ||
#else | ||
namespace MyApp.Namespace.Views | ||
#endif | ||
{ | ||
[XamlCompilation(XamlCompilationOptions.Compile)] | ||
public partial class Forms__1Page : ContentPage | ||
{ | ||
public Forms__1Page() | ||
{ | ||
InitializeComponent(); | ||
BindingContext = new Forms__1ViewModel(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#if SameFolder | ||
namespace MyApp.Namespace | ||
#else | ||
namespace MyApp.Namespace.ViewModels | ||
#endif | ||
{ | ||
public partial class Forms__1ViewModel : BaseViewModel | ||
{ | ||
public Forms__1ViewModel() | ||
{ | ||
|
||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/FormsTemplatesCLI/FormsMvvmCS/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"namespace": { | ||
"shortName": "na" | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/FormsTemplatesCLI/FormsMvvmCS/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host" | ||
} |
66 changes: 66 additions & 0 deletions
66
src/FormsTemplatesCLI/FormsMvvmCS/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/template", | ||
"author": "Vijay Anand E G", | ||
"defaultName": "Forms1", | ||
"classifications": [ | ||
"Xamarin", | ||
"Android", | ||
"iOS", | ||
"macOS", | ||
"Windows", | ||
"MVVM", | ||
"Code" | ||
], | ||
"identity": "VijayAnand.FormsMvvmCS", | ||
"groupIdentity": "VijayAnand.FormsTemplates.Mvvm.Code", | ||
"description": "An item template for Xamarin.Forms ContentPage in C# and its ViewModel", | ||
"name": "Xamarin.Forms ContentPage and ViewModel (C#)", | ||
"shortName": "forms-mvvm-cs", | ||
"sourceName": "Forms.1", | ||
"primaryOutputs": [ | ||
{ | ||
"path": "Forms.1Page.cs" | ||
}, | ||
{ | ||
"path": "Forms.1ViewModel.cs" | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "item" | ||
}, | ||
"sources": [ | ||
{ | ||
"condition": "(SameFolder)", | ||
"include": [ | ||
"**/*" | ||
] | ||
}, | ||
{ | ||
"condition": "(!SameFolder)", | ||
"rename": { | ||
"Forms.1Page.cs": "Views/Forms.1Page.cs", | ||
"Forms.1ViewModel.cs": "ViewModels/Forms.1ViewModel.cs" | ||
} | ||
} | ||
], | ||
"symbols": { | ||
"namespace": { | ||
"type": "parameter", | ||
"datatype": "text", | ||
"description": "namespace for the generated code", | ||
"replaces": "MyApp.Namespace" | ||
}, | ||
"same-folder": { | ||
"type": "parameter", | ||
"datatype": "bool", | ||
"defaultValue": "false", | ||
"description": "Option to create the artifacts in the same folder.", | ||
"displayName": "Option to create the artifacts in the same folder" | ||
}, | ||
"SameFolder": { | ||
"type": "computed", | ||
"value": "(same-folder)" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using Xamarin.Forms; | ||
|
||
#if (!SameFolder) | ||
using MyApp.Namespace.ViewModels; | ||
|
||
#endif | ||
#if SameFolder | ||
namespace MyApp.Namespace | ||
#else | ||
namespace MyApp.Namespace.Views | ||
#endif | ||
{ | ||
public partial class Forms__1Page : ContentPage | ||
{ | ||
public Forms__1Page() | ||
{ | ||
BindingContext = new Forms__1ViewModel(); | ||
Content = new Grid() | ||
{ | ||
Children = | ||
{ | ||
new Label() | ||
{ | ||
Text = "Welcome to Xamarin.Forms!!!", | ||
TextColor = Color.Purple, | ||
HorizontalOptions = LayoutOptions.Center, | ||
VerticalOptions = LayoutOptions.Center | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#if SameFolder | ||
namespace MyApp.Namespace | ||
#else | ||
namespace MyApp.Namespace.ViewModels | ||
#endif | ||
{ | ||
public partial class Forms__1ViewModel : BaseViewModel | ||
{ | ||
public Forms__1ViewModel() | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters