Skip to content

T_CodeJam_Mapping_MapValueAttribute

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

MapValueAttribute Class

Uses to define for enumtype.

Inheritance Hierarchy

System.Object
  System.Attribute
    CodeJam.Mapping.MapValueAttribute
Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true)]
public class MapValueAttribute : Attribute

VB

<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := true)>
Public Class MapValueAttribute
	Inherits Attribute

F#

[<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true)>]
type MapValueAttribute =  
    class
        inherit Attribute
    end

The MapValueAttribute type exposes the following members.

Constructors

 

Name Description
Public method MapValueAttribute() Creates an instance of MapValueAttribute attribute.
Public method MapValueAttribute(Object) Creates an instance of MapValueAttribute attribute.
Public method MapValueAttribute(Object, Boolean) Creates an instance of MapValueAttribute attribute.
Public method MapValueAttribute(String, Object) Creates an instance of MapValueAttribute attribute.
Public method MapValueAttribute(String, Object, Boolean) Creates an instance of MapValueAttribute attribute.
  Back to Top

Properties

 

Name Description
Public property Configuration Active configuration.
Public property IsDefault true if default.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property Value Mapping value.
  Back to Top

Methods

 

Name Description
Public method Equals Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

CodeJam.Mapping Namespace
CodeJam.Mapping.MapValue

Clone this wiki locally