Skip to content

Replicate Python Properties behavior in C# #5

@fwkoch

Description

@fwkoch

Type-checking, a major component of Properties, is handled by default in C#. (There are a few pieces of validation that may need some extra work, eg specific array shape). Also, Newton handles the basic JSON deserialization. I think for this initial incubation, we can ignore the remaining Properties functionality (eg auto-documentation, complex serialization, value coercion, change notifications...). Some of this is possibly to come in the future, but I think most of it is out of scope (and likely more relevant as a Properties issue rather than an omf issue).

A couple details that need resolving are what to use in C# for array and PNG support instead of numpy and pypng, respectively. For arrays, do simply lists or lists of lists work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions