Code

History

  1. GSF.Core: Added TypeConvertedValueExpressionAttribute and updated value expression parser to accommodate bi-directional expressions,i.e., where modeled property values can be assigned back to expressions allowing synchronization of a model with an external source, e.g., a user interface element.J. Ritchie Carroll committed 9 years agoec89a33
  2. GSF.Core: Added UpdateValueExpression to allow for expression based updates.J. Ritchie Carroll committed 9 years agob3d39ba
  3. GSF.Core: Added requirement to set evaluation order when using "this" keywords in DefaultValueExpressionAttribute.J. Ritchie Carroll committed 9 years ago6918d4a
  4. GSF.Core: (1) Added "EvaluationOrderAttribute" so that custom ordering can happen when evaluating default value expressions, (2) added "Cached" property to DefaultValueExpressionAttribute so that costly expressions that do not change can be cached to prevent further evaluations, e.g.: [DefaultValueExpression("NotNull(Connection.ExecuteScalar('SELECT ID FROM SignalType WHERE Acronym=\\'CALC\\''), 10)", Cached = true)]J. Ritchie Carroll committed 9 years agof852134
  5. GSF.Core: (1) Added DefaultValueExpressionParser and DefaultValueExpressionScopeBase so that default value expressions can be used easily in other places, (2) updated DefaultValueExpressionAttribute implementations that are used with TableOperation models to support use of "this" keyword for self-referencing field access (3) moved attributes into GSF.ComponentModel and GSF.ComponentModel.DataAnnotations - this will be a breaking change for some model implementations, (4) updated ConnectionStringParser to recognize DefaultValueExpressionAttributesJ. Ritchie Carroll committed 9 years ago24f271e
  6. GSF.Core: (1) Updated commented for recent check-ins. (2) Fixed sealed state for InitialValueAttribute.J. Ritchie Carroll committed 9 years ago2818714
  7. GSF.Tools: Cleaned up LoadImpedanceCalcs command line tool to use new DefaultValueExpressionAttributesJ. Ritchie Carroll committed 9 years ago15f4925
  8. GSF.Core: Moved DefaultVAlueExpressionAttribute into root namespace.J. Ritchie Carroll committed 9 years agoad51b84
  9. GSF.Core: Added 'DefaultValueExpressionAttribute` for handling modeled default values based on expressions when using NewRecord function of TableOperations, e.g., [DefaultValueExpression("Guid.NewGuid()")], [DefaultValueExpression("DateTime.UtcNow")], [DefaultValueExpression("UserInfo.CurrentUserID")] and even [DefaultValueExpression("NotNull(Connection.ExecuteScalar('SELECT ID FROM SignalType WHERE Acronym=\\'CALC\\''), 10)")]J. Ritchie Carroll committed 9 years ago3b6a825
  10. GSF.Tools: Added command line based tool that will auto-load impedance calculators using a CSV file that defines sending and receiving phasors.J. Ritchie Carroll committed 9 years ago889c5ba

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t