C# Класс Zetbox.App.Extensions.ObjectClassExtensions

Temp. Kist Objects Extensions
Показать файл Открыть проект

Открытые методы

Метод Описание
CollectChildClasses ( this cls, List children, bool includeAbstract ) : void
GetAllMethods ( this cls ) : IList
GetAllProperties ( this cls ) : IList
GetDescribedInterfaceType ( this dt ) : InterfaceType
GetDescribedInterfaceTypeName ( this dt ) : string
GetGroupAccessRights ( this cls, ZetboxPrincipal principal ) : Zetbox.API.AccessRights?

GetInheritedProperties ( this cls ) : IList
GetObjectClass ( this obj, IReadOnlyZetboxContext ctx ) : ObjectClass
GetObjectHierarchie ( this cls ) : ICollection
GetProperty ( this cls, string property ) : System.Property
GetPropertyType ( this t, System.Property property ) : Type
GetPropertyType ( this type, string propertyName ) : Type
GetRelationEndsWithLocalStorage ( this cls ) : List
GetRelations ( this cls ) : List
GetRootClass ( this cls ) : ObjectClass
GetTableMapping ( this objClass ) : TableMapping
HasAccessControlList ( this cls ) : bool

Checks if a ObjectClass has an AccessControl list. This Method is used to append security filter

ImplementsIChangedBy ( this cls ) : bool
ImplementsIChangedBy ( this cls, bool lookupInBase ) : bool
ImplementsICustomFulltextFormat ( this cls ) : bool
ImplementsICustomFulltextFormat ( this cls, bool lookupInBase ) : bool
ImplementsIDeactivatable ( this cls ) : bool
ImplementsIDeactivatable ( this cls, bool lookupInBase ) : bool
ImplementsIExportable ( this cls ) : bool
ImplementsIExportable ( this cls, bool lookupInBase ) : bool
ImplementsIMergeable ( this cls ) : bool
ImplementsIMergeable ( this cls, bool lookupInBase ) : bool
ImplementsIModuleMember ( this cls ) : bool
ImplementsIModuleMember ( this cls, bool lookupInBase ) : bool
IsAssignableFrom ( this self, DataType other ) : bool
IsFrozen ( this cls ) : bool
NeedsRightsTable ( this cls ) : bool

Checks if this ObjectClass needs a Rights Table. Lookup is done only in current class, not in base classes. Only RoleMembership ACLs would need a Rights Table. GroupMembership ACLs are resolved directly at the server.

Описание методов

CollectChildClasses() публичный статический Метод

public static CollectChildClasses ( this cls, List children, bool includeAbstract ) : void
cls this
children List
includeAbstract bool
Результат void

GetAllMethods() публичный статический Метод

public static GetAllMethods ( this cls ) : IList
cls this
Результат IList

GetAllProperties() публичный статический Метод

public static GetAllProperties ( this cls ) : IList
cls this
Результат IList

GetDescribedInterfaceType() публичный статический Метод

public static GetDescribedInterfaceType ( this dt ) : InterfaceType
dt this
Результат Zetbox.API.InterfaceType

GetDescribedInterfaceTypeName() публичный статический Метод

public static GetDescribedInterfaceTypeName ( this dt ) : string
dt this
Результат string

GetGroupAccessRights() публичный статический Метод

public static GetGroupAccessRights ( this cls, ZetboxPrincipal principal ) : Zetbox.API.AccessRights?
cls this
principal Zetbox.API.ZetboxPrincipal
Результат Zetbox.API.AccessRights?

GetInheritedProperties() публичный статический Метод

public static GetInheritedProperties ( this cls ) : IList
cls this
Результат IList

GetObjectClass() публичный статический Метод

public static GetObjectClass ( this obj, IReadOnlyZetboxContext ctx ) : ObjectClass
obj this
ctx IReadOnlyZetboxContext
Результат ObjectClass

GetObjectHierarchie() публичный статический Метод

public static GetObjectHierarchie ( this cls ) : ICollection
cls this
Результат ICollection

GetProperty() публичный статический Метод

public static GetProperty ( this cls, string property ) : System.Property
cls this
property string
Результат System.Property

GetPropertyType() публичный статический Метод

public static GetPropertyType ( this t, System.Property property ) : Type
t this
property System.Property
Результат System.Type

GetPropertyType() публичный статический Метод

public static GetPropertyType ( this type, string propertyName ) : Type
type this
propertyName string
Результат System.Type

GetRelationEndsWithLocalStorage() публичный статический Метод

public static GetRelationEndsWithLocalStorage ( this cls ) : List
cls this
Результат List

GetRelations() публичный статический Метод

public static GetRelations ( this cls ) : List
cls this
Результат List

GetRootClass() публичный статический Метод

public static GetRootClass ( this cls ) : ObjectClass
cls this
Результат ObjectClass

GetTableMapping() публичный статический Метод

public static GetTableMapping ( this objClass ) : TableMapping
objClass this
Результат TableMapping

HasAccessControlList() публичный статический Метод

Checks if a ObjectClass has an AccessControl list. This Method is used to append security filter
public static HasAccessControlList ( this cls ) : bool
cls this ObjectClass to test
Результат bool

ImplementsIChangedBy() публичный статический Метод

public static ImplementsIChangedBy ( this cls ) : bool
cls this
Результат bool

ImplementsIChangedBy() публичный статический Метод

public static ImplementsIChangedBy ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

ImplementsICustomFulltextFormat() публичный статический Метод

public static ImplementsICustomFulltextFormat ( this cls ) : bool
cls this
Результат bool

ImplementsICustomFulltextFormat() публичный статический Метод

public static ImplementsICustomFulltextFormat ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

ImplementsIDeactivatable() публичный статический Метод

public static ImplementsIDeactivatable ( this cls ) : bool
cls this
Результат bool

ImplementsIDeactivatable() публичный статический Метод

public static ImplementsIDeactivatable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

ImplementsIExportable() публичный статический Метод

public static ImplementsIExportable ( this cls ) : bool
cls this
Результат bool

ImplementsIExportable() публичный статический Метод

public static ImplementsIExportable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

ImplementsIMergeable() публичный статический Метод

public static ImplementsIMergeable ( this cls ) : bool
cls this
Результат bool

ImplementsIMergeable() публичный статический Метод

public static ImplementsIMergeable ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

ImplementsIModuleMember() публичный статический Метод

public static ImplementsIModuleMember ( this cls ) : bool
cls this
Результат bool

ImplementsIModuleMember() публичный статический Метод

public static ImplementsIModuleMember ( this cls, bool lookupInBase ) : bool
cls this
lookupInBase bool
Результат bool

IsAssignableFrom() публичный статический Метод

public static IsAssignableFrom ( this self, DataType other ) : bool
self this
other DataType
Результат bool

IsFrozen() публичный статический Метод

public static IsFrozen ( this cls ) : bool
cls this
Результат bool

NeedsRightsTable() публичный статический Метод

Checks if this ObjectClass needs a Rights Table. Lookup is done only in current class, not in base classes. Only RoleMembership ACLs would need a Rights Table. GroupMembership ACLs are resolved directly at the server.
public static NeedsRightsTable ( this cls ) : bool
cls this ObjectClass to test
Результат bool