-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63cc9c6
commit eb9d8dc
Showing
11 changed files
with
65 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ nuget/lib/ | |
/.vs/fitSharp/v15/Server/sqlite3 | ||
.idea/ | ||
/source/netcore/**/*.cs | ||
/binary/tools/dbfit/ |
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
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,15 @@ | ||
// Copyright © 2019 Syterra Software Inc. All rights reserved. | ||
// The use and distribution terms for this software are covered by the Common Public License 1.0 (https://opensource.org/licenses/cpl1.0.php) | ||
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you are agreeing | ||
// to be bound by the terms of this license. You must not remove this notice, or any other, from this software. | ||
|
||
using System; | ||
using fitSharp.Machine.Model; | ||
|
||
namespace fitSharp.Fit.Engine { | ||
public class DecorateElementDefault: DecorateElement { | ||
public TypedValue Decorate(Tree<Cell> element, Func<TypedValue> action) { | ||
return action(); | ||
} | ||
} | ||
} |
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 @@ | ||
// Copyright © 2019 Syterra Software Inc. All rights reserved. | ||
// The use and distribution terms for this software are covered by the Common Public License 1.0 (https://opensource.org/licenses/cpl1.0.php) | ||
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you are agreeing | ||
// to be bound by the terms of this license. You must not remove this notice, or any other, from this software. | ||
|
||
using fitSharp.Machine.Model; | ||
|
||
namespace fitSharp.Fit.Engine { | ||
public class FitEnvironment: Copyable { | ||
public FitEnvironment(CellProcessor processor) { | ||
this.processor = processor; | ||
} | ||
|
||
public RunTest RunTest; | ||
public DecorateElement DecorateElement; | ||
|
||
public Copyable Copy() { | ||
return new FitEnvironment(processor) {RunTest = RunTest}; | ||
} | ||
|
||
readonly CellProcessor processor; | ||
} | ||
} |
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
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
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