ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7562) .NET: Binary object as dynamic object
Date Mon, 29 Jan 2018 21:00:00 GMT
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)

Mime
View raw message