C# Class Felinesoft.UmbracoCodeFirst.Attributes.NodePickerConfigAttribute

Inheritance: CodeFirstAttribute, IDataTypeInstance, IInitialisableAttribute, IInitialisablePropertyAttribute
Mostra file Open project: DanMannMann/UmbracoCodeFirst Class Usage Examples

Private Properties

Property Type Description
GetNodeIdFromPath int
Init void

Public Methods

Method Description
Initialise ( PropertyInfo propertyTarget ) : void
Initialise ( Type decoratedType ) : void
NodePickerConfigAttribute ( int minimumItems = -1, int maximumItems = -1, Type allowedDescendants = null, string startNode = null, StartNodeSpecifier startNodeSpecifier = StartNodeSpecifier.Path, bool showOpenButton = false, bool showEditButton = false, bool showPathsWhenHovering = false ) : System

Private Methods

Method Description
GetNodeIdFromPath ( string startNode ) : int
Init ( string memberName ) : void

Method Details

Initialise() public method

public Initialise ( PropertyInfo propertyTarget ) : void
propertyTarget System.Reflection.PropertyInfo
return void

Initialise() public method

public Initialise ( Type decoratedType ) : void
decoratedType System.Type
return void

NodePickerConfigAttribute() public method

public NodePickerConfigAttribute ( int minimumItems = -1, int maximumItems = -1, Type allowedDescendants = null, string startNode = null, StartNodeSpecifier startNodeSpecifier = StartNodeSpecifier.Path, bool showOpenButton = false, bool showEditButton = false, bool showPathsWhenHovering = false ) : System
minimumItems int
maximumItems int
allowedDescendants System.Type
startNode string
startNodeSpecifier StartNodeSpecifier
showOpenButton bool
showEditButton bool
showPathsWhenHovering bool
return System