C# Класс CADability.NamedValuesProperty

Наследование: IShowPropertyImpl, ICommandHandler, ISerializable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetCode ( ) : string
GetNamedValue ( string name ) : object
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Implements ISerializable.GetObjectData

NamedValuesProperty ( ) : CADability.UserInterface
OnCommand ( string MenuId ) : bool
OnUpdateCommand ( string MenuId, CommandState CommandState ) : bool
SetNamedValue ( string name, object val ) : void

Защищенные методы

Метод Описание
NamedValuesProperty ( SerializationInfo info, StreamingContext context ) : CADability.UserInterface

Constructor required by deserialization

Приватные методы

Метод Описание
FindEntry ( string name ) : IPropertyEntry
GetUniqueName ( string prefix ) : string
ICommandHandler ( MenuWithHandler selectedMenuItem, bool selected ) : void
InsertDouble ( ) : void
InsertGeoPoint ( ) : void
InsertGeoVector ( ) : void
OnGeoPointLabelChanged ( EditableProperty sender, string newLabel ) : void
OnGeoVectorLabelChanged ( EditableProperty sender, string newLabel ) : void
OnGetGeoPoint ( GeoPointProperty sender ) : GeoPoint
OnGetGeoVector ( GeoVectorProperty sender ) : GeoVector
OnGetLength ( LengthProperty sender ) : double
OnLabelChanged ( string oldName, string newLabel ) : void
OnLengthLabelChanged ( EditableProperty sender, string newLabel ) : void
OnSetGeoPoint ( GeoPointProperty sender, GeoPoint p ) : void
OnSetGeoVector ( GeoVectorProperty sender, GeoVector v ) : void
OnSetLength ( LengthProperty sender, double l ) : void
ReflectNewEntry ( string name ) : void
Remove ( string name ) : void
Rename ( string oldName, string newName ) : void

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

GetCode() публичный Метод

public GetCode ( ) : string
Результат string

GetNamedValue() публичный Метод

public GetNamedValue ( string name ) : object
name string
Результат object

GetObjectData() публичный Метод

Implements ISerializable.GetObjectData
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo The to populate with data.
context StreamingContext The destination () for this serialization.
Результат void

NamedValuesProperty() публичный Метод

public NamedValuesProperty ( ) : CADability.UserInterface
Результат CADability.UserInterface

NamedValuesProperty() защищенный Метод

Constructor required by deserialization
protected NamedValuesProperty ( SerializationInfo info, StreamingContext context ) : CADability.UserInterface
info SerializationInfo SerializationInfo
context StreamingContext StreamingContext
Результат CADability.UserInterface

OnCommand() публичный Метод

public OnCommand ( string MenuId ) : bool
MenuId string
Результат bool

OnUpdateCommand() публичный Метод

public OnUpdateCommand ( string MenuId, CommandState CommandState ) : bool
MenuId string
CommandState CommandState
Результат bool

SetNamedValue() публичный Метод

public SetNamedValue ( string name, object val ) : void
name string
val object
Результат void