Skip to content

T_CodeJam_Mapping_ScalarTypeAttribute

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

ScalarTypeAttribute Class

Defines target type as scalar type.

Inheritance Hierarchy

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

Syntax

C#

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)]
public class ScalarTypeAttribute : Attribute

VB

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct, AllowMultiple := true)>
Public Class ScalarTypeAttribute
	Inherits Attribute

F#

[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)>]
type ScalarTypeAttribute =  
    class
        inherit Attribute
    end

The ScalarTypeAttribute type exposes the following members.

Constructors

 

Name Description
Public method ScalarTypeAttribute() Defines target type as scalar type.
Public method ScalarTypeAttribute(Boolean) Defines target type as scalar type.
Public method ScalarTypeAttribute(String) Defines target type as scalar type.
Public method ScalarTypeAttribute(String, Boolean) Defines target type as scalar type.
  Back to Top

Properties

 

Name Description
Public property Configuration Configuration name.
Public property IsScalar true if target type is a scalar type.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
  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

Clone this wiki locally