C# Class Orchard.DisplayManagement.Descriptors.ShapePlacementStrategy.ShapePlacementParsingStrategy

This component discovers and announces the shape alterations implied by the contents of the Placement.info files
Inheritance: IShapeTableProvider
Datei anzeigen Open project: Sylapse/Orchard.ContentSerialization

Public Methods

Method Description
BuildPredicate ( bool>.Func predicate, string>.KeyValuePair term ) : bool>.Func
Discover ( ShapeTableBuilder builder ) : void
ShapePlacementParsingStrategy ( IExtensionManager extensionManager, ShellDescriptor shellDescriptor, IPlacementFileParser placementFileParser ) : System

Private Methods

Method Description
DrillDownShapeLocations ( IEnumerable nodes, IEnumerable path ) : IEnumerable>>.IEnumerable
FeatureIsEnabled ( Orchard.Environment.Extensions.Models.FeatureDescriptor fd ) : bool
FeatureIsTheme ( Orchard.Environment.Extensions.Models.FeatureDescriptor fd ) : bool
GetShapeType ( Orchard.DisplayManagement.Descriptors.ShapePlacementStrategy.PlacementShapeLocation shapeLocation, string &shapeType, string &differentiator ) : void
Once ( IEnumerable featureDescriptors ) : IEnumerable
ProcessFeatureDescriptor ( ShapeTableBuilder builder, Orchard.Environment.Extensions.Models.FeatureDescriptor featureDescriptor ) : void
ProcessPlacementFile ( ShapeTableBuilder builder, Orchard.Environment.Extensions.Models.FeatureDescriptor featureDescriptor, PlacementFile placementFile ) : void

Method Details

BuildPredicate() public static method

public static BuildPredicate ( bool>.Func predicate, string>.KeyValuePair term ) : bool>.Func
predicate bool>.Func
term string>.KeyValuePair
return bool>.Func

Discover() public method

public Discover ( ShapeTableBuilder builder ) : void
builder ShapeTableBuilder
return void

ShapePlacementParsingStrategy() public method

public ShapePlacementParsingStrategy ( IExtensionManager extensionManager, ShellDescriptor shellDescriptor, IPlacementFileParser placementFileParser ) : System
extensionManager IExtensionManager
shellDescriptor ShellDescriptor
placementFileParser IPlacementFileParser
return System