You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/01/24 12:33:53 UTC

ignite git commit: .NET: Add missing AttributeUsage for plugin attributes

Repository: ignite
Updated Branches:
  refs/heads/ignite-2.0 b9901f021 -> 0453627b5


.NET: Add missing AttributeUsage for plugin attributes


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0453627b
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0453627b
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0453627b

Branch: refs/heads/ignite-2.0
Commit: 0453627b5f6a5a48967916d342ebf9ce92d42ec1
Parents: b9901f0
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Tue Jan 24 15:32:33 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Tue Jan 24 15:32:33 2017 +0300

----------------------------------------------------------------------
 .../Plugin/Cache/CachePluginProviderTypeAttribute.cs                | 1 +
 .../dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0453627b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/Cache/CachePluginProviderTypeAttribute.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/Cache/CachePluginProviderTypeAttribute.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/Cache/CachePluginProviderTypeAttribute.cs
index 690cf8b..5af720e 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/Cache/CachePluginProviderTypeAttribute.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/Cache/CachePluginProviderTypeAttribute.cs
@@ -24,6 +24,7 @@ namespace Apache.Ignite.Core.Plugin.Cache
     /// When applied to <see cref="ICachePluginConfiguration"/>, defines the type of
     /// <see cref="ICachePluginProvider{T}"/> to instantiate.
     /// </summary>
+    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
     public class CachePluginProviderTypeAttribute : Attribute
     {
         /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/0453627b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs
index 64dcfd4..6021f7f 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Plugin/PluginProviderTypeAttribute.cs
@@ -24,6 +24,7 @@ namespace Apache.Ignite.Core.Plugin
     /// When applied to <see cref="IPluginConfiguration"/>, defines the type of
     /// <see cref="IPluginProvider{T}"/> to instantiate.
     /// </summary>
+    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
     public class PluginProviderTypeAttribute : Attribute
     {
         /** */