You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2018/01/29 21:00:00 UTC

[jira] [Created] (IGNITE-7562) .NET: Binary object as dynamic object

Pavel Tupitsyn created IGNITE-7562:
--------------------------------------

             Summary: .NET: Binary object as dynamic object
                 Key: IGNITE-7562
                 URL: https://issues.apache.org/jira/browse/IGNITE-7562
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn


Provide a way to access {{IBinaryObject}} fields through C# {{dynamic}} API:

{code}
IBinaryObject obj = cache.Get(1);
var name = obj.GetField<string>("Name");  // Current API

dynamic dynObj = obj.AsDynamic();
name = dynObj.Name;  // Proposed API
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)