C# 클래스 numl.Model.DescriptorProperty

Fluent API addition for simplifying the process of adding features and labels to a descriptor.
파일 보기 프로젝트 열기: sethjuarez/numl

공개 메소드들

메소드 설명
As ( Property property ) : Descriptor

Adds the specified property to the descriptor with the chained name

As ( Type type ) : Descriptor

Adds property to descriptor with chained name and type.

AsDateTime ( DatePortion portion ) : Descriptor

Adds DateTime property to descriptor with previously chained name.

AsDateTime ( DateTimeFeature features ) : Descriptor

Adds DateTime property to descriptor with previously chained name.

AsEnumerable ( int length ) : Descriptor

Adds Enumerable property to descriptor with previousy chained name.

AsGuid ( ) : Descriptor

Adds guid property to descriptor with previously chained name.

AsString ( ) : Descriptor

Adds the default string property to descriptor with previously chained name.

AsString ( StringSplitType splitType, string separator = " ", string exclusions = null ) : Descriptor

Adds string property to descriptor with previously chained name.

AsStringEnum ( ) : Descriptor

Adds string property to descriptor with previously chained name.

Use ( double>.Func conversion ) : Descriptor

Not ready.

비공개 메소드들

메소드 설명
AddProperty ( Property p ) : void

Adds a property.

DescriptorProperty ( Descriptor descriptor, string name, bool label ) : System

internal constructor used for creating chaining.

메소드 상세

As() 공개 메소드

Adds the specified property to the descriptor with the chained name
public As ( Property property ) : Descriptor
property Property The property.
리턴 Descriptor

As() 공개 메소드

Adds property to descriptor with chained name and type.
public As ( Type type ) : Descriptor
type System.Type Property Type.
리턴 Descriptor

AsDateTime() 공개 메소드

Adds DateTime property to descriptor with previously chained name.
Thrown when a Descriptor error condition occurs.
public AsDateTime ( DatePortion portion ) : Descriptor
portion DatePortion Which date portions to use (can pipe: DateTimeFeature.Year | /// DateTimeFeature.DayOfWeek)
리턴 Descriptor

AsDateTime() 공개 메소드

Adds DateTime property to descriptor with previously chained name.
Thrown when a Descriptor error condition occurs.
public AsDateTime ( DateTimeFeature features ) : Descriptor
features DateTimeFeature Which date features to use (can pipe: DateTimeFeature.Year | /// DateTimeFeature.DayOfWeek)
리턴 Descriptor

AsEnumerable() 공개 메소드

Adds Enumerable property to descriptor with previousy chained name.
Thrown when a Descriptor error condition occurs.
public AsEnumerable ( int length ) : Descriptor
length int length of enumerable to expand.
리턴 Descriptor

AsGuid() 공개 메소드

Adds guid property to descriptor with previously chained name.
public AsGuid ( ) : Descriptor
리턴 Descriptor

AsString() 공개 메소드

Adds the default string property to descriptor with previously chained name.
public AsString ( ) : Descriptor
리턴 Descriptor

AsString() 공개 메소드

Adds string property to descriptor with previously chained name.
public AsString ( StringSplitType splitType, string separator = " ", string exclusions = null ) : Descriptor
splitType StringSplitType How to split string.
separator string (Optional) Separator to use.
exclusions string (Optional) file describing strings to exclude.
리턴 Descriptor

AsStringEnum() 공개 메소드

Adds string property to descriptor with previously chained name.
public AsStringEnum ( ) : Descriptor
리턴 Descriptor

Use() 공개 메소드

Not ready.
Thrown when the requested operation is unimplemented.
public Use ( double>.Func conversion ) : Descriptor
conversion double>.Func Conversion method.
리턴 Descriptor