Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ObsoleteMethodAttribute.cs
1using System;
2using System.Collections.Generic;
3
5{
12 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
13 public class ObsoleteMethodAttribute : Attribute
14 {
15 private readonly string methodName;
16
26 {
27 this.methodName = MethodName;
28 }
29
36 public string MethodName => this.methodName;
37 }
38}
This attribute defines a method for obsolete properties and field values found in serializations of o...
string MethodName
Name of method that will be called if deserializing objects with obsolete property or field values....
ObsoleteMethodAttribute(string MethodName)
This attribute defines a method for obsolete properties and field values found in serializations of o...