C# 클래스 Rock.UniversalSearch.IndexModels.IndexModelBase

Base Index Model
상속: System.Dynamic.DynamicObject, Lava.ILiquidizable
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Contains ( object>.KeyValuePair item, bool includeInstanceProperties = false ) : bool

Determines whether [contains] [the specified item].

ContainsKey ( object key ) : bool

Determines whether the specified key contains key.

FormatSearchResult ( Person person, object>.Dictionary displayOptions = null ) : FormattedSearchResult

Formats the search result.

GetDocumentUrl ( object>.Dictionary displayOptions = null ) : string

Gets the document URL.

GetDynamicMemberNames ( ) : IEnumerable

Returns the enumeration of all dynamic member names.

GetProperties ( bool includeInstanceProperties = false ) : object>>.IEnumerable

Gets the properties.

IndexModelBase ( ) : System

Initializes a new instance of the IndexModelBase class.

ToLiquid ( ) : object

Returns liquid for the object

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Provides the implementation for operations that get member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.

TrySetMember ( SetMemberBinder binder, object value ) : bool

Provides the implementation for operations that set member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.

this ( object key ) : object

Gets the System.Object with the specified key.

this ( string key ) : object

Gets or sets the System.Object with the specified key.

보호된 메소드들

메소드 설명
AddIndexableAttributes ( IndexModelBase indexModel, IHasAttributes sourceModel ) : void

Adds the indexable attributes.

GetProperty ( object instance, string name, object &result ) : bool

Gets the property.

SetProperty ( object instance, string name, object value ) : bool

Sets the property.

메소드 상세

AddIndexableAttributes() 보호된 정적인 메소드

Adds the indexable attributes.
protected static AddIndexableAttributes ( IndexModelBase indexModel, IHasAttributes sourceModel ) : void
indexModel IndexModelBase The index model.
sourceModel IHasAttributes The source model.
리턴 void

Contains() 공개 메소드

Determines whether [contains] [the specified item].
public Contains ( object>.KeyValuePair item, bool includeInstanceProperties = false ) : bool
item object>.KeyValuePair The item.
includeInstanceProperties bool if set to true [include instance properties].
리턴 bool

ContainsKey() 공개 메소드

Determines whether the specified key contains key.
public ContainsKey ( object key ) : bool
key object The key.
리턴 bool

FormatSearchResult() 공개 메소드

Formats the search result.
public FormatSearchResult ( Person person, object>.Dictionary displayOptions = null ) : FormattedSearchResult
person Person The person.
displayOptions object>.Dictionary The display options.
리턴 FormattedSearchResult

GetDocumentUrl() 공개 메소드

Gets the document URL.
public GetDocumentUrl ( object>.Dictionary displayOptions = null ) : string
displayOptions object>.Dictionary
리턴 string

GetDynamicMemberNames() 공개 메소드

Returns the enumeration of all dynamic member names.
public GetDynamicMemberNames ( ) : IEnumerable
리턴 IEnumerable

GetProperties() 공개 메소드

Gets the properties.
public GetProperties ( bool includeInstanceProperties = false ) : object>>.IEnumerable
includeInstanceProperties bool if set to true [include instance properties].
리턴 object>>.IEnumerable

GetProperty() 보호된 메소드

Gets the property.
protected GetProperty ( object instance, string name, object &result ) : bool
instance object The instance.
name string The name.
result object The result.
리턴 bool

IndexModelBase() 공개 메소드

Initializes a new instance of the IndexModelBase class.
public IndexModelBase ( ) : System
리턴 System

SetProperty() 보호된 메소드

Sets the property.
protected SetProperty ( object instance, string name, object value ) : bool
instance object The instance.
name string The name.
value object The value.
리턴 bool

ToLiquid() 공개 메소드

Returns liquid for the object
public ToLiquid ( ) : object
리턴 object

TryGetMember() 공개 메소드

Provides the implementation for operations that get member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
result object The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
리턴 bool

TrySetMember() 공개 메소드

Provides the implementation for operations that set member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.
public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
value object The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
리턴 bool

this() 공개 메소드

Gets the System.Object with the specified key.
public this ( object key ) : object
key object The key.
리턴 object

this() 공개 메소드

Gets or sets the System.Object with the specified key.
public this ( string key ) : object
key string The key.
리턴 object