C# Class Felinesoft.UmbracoCodeFirst.Core.Modules.DataTypeRegister.DataTypeRegisterController

Mostra file Open project: DanMannMann/UmbracoCodeFirst

Public Methods

Method Description
Register ( PropertyInfo instance, DataTypeRegistration definition ) : void

Registers the given data type definition for the specified property instance

Register ( Type dataType, DataTypeRegistration definition ) : void

Registers the given data type definition for the specified type

Private Methods

Method Description
DataTypeRegisterController ( DataTypeRegister instance ) : System

Method Details

Register() public method

Registers the given data type definition for the specified property instance
Thrown if the specified instance is already registered. /// This operation is not thread safe. If Register may be called from multiple threads in your application /// then you are responsible for synchronising those calls.
public Register ( PropertyInfo instance, DataTypeRegistration definition ) : void
instance System.Reflection.PropertyInfo
definition DataTypeRegistration
return void

Register() public method

Registers the given data type definition for the specified type
Thrown if the specified type is already registered. /// This operation is not thread safe. If Register may be called from multiple threads in your application /// then you are responsible for synchronising those calls.
public Register ( Type dataType, DataTypeRegistration definition ) : void
dataType System.Type
definition DataTypeRegistration
return void