C# to CSharp and F# to FSharp

This commit is contained in:
Mike Nolan 2023-02-09 18:35:31 -06:00
parent 5285c74f3e
commit 93796b06fb
8 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/template",
"sourceName": "TimelapseExtension0001",
"defaultName": "TimelapseExtension",
"author": "Tesses",
"classifications": [ "Common", "Library","Desktop" ],
"identity": "Timelapse.ExtensionLibrary",
"name": "Timelapse templates: Extension",
"shortName": "timelapseext",
"tags": {
"language": "C#",
"type": "project"
},
"description": "Extension for TimelapseNow",
"symbols": {
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net6.0",
"defaultValue": "net6.0"
}
}
}

View File

@ -0,0 +1,10 @@
using TimelapseApi;
using System;
namespace TimelapseExtension0001
{
public class TimelapseExtension0001 : TimelapseExtension
{
public override string Name => "TimelapseExtension0001";
public override Guid Id => Guid.Parse("{1cb8b576-e2e8-44d5-a8e1-e25a47eb0564}"); //https://duckduckgo.com/?q=guid&t=ffab&ia=answer
}
}

View File

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
{
"name": "TimelapseExtension0001",
"author": "YourNameOrCompanyName",
"version": "1.0.0",
"description": "Some Description"
}

View File

@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/template",
"sourceName": "TimelapseExtension0001",
"defaultName": "TimelapseExtension",
"author": "Tesses",
"classifications": [ "Common", "Library","Desktop" ],
"identity": "Timelapse.ExtensionLibrary",
"name": "Timelapse templates: Extension",
"shortName": "timelapseext",
"tags": {
"language": "F#",
"type": "project"
},
"description": "Extension for TimelapseNow",
"symbols": {
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net6.0",
"defaultValue": "net6.0"
}
}
}

View File

@ -0,0 +1,8 @@
namespace TimelapseExtension0001
open TimelapseApi
open System
type TimelapseExtension0001() =
inherit TimelapseExtension()
override this.Name = "TimelapseExtension0001"
override this.Id = Guid.Parse("")

View File

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>TimelapseExtension0001</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="Extension.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
{
"name": "TimelapseExtension0001",
"author": "YourNameOrCompanyName",
"version": "1.0.0",
"description": "Some Description"
}