/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceSimpleButton(IDisplayingEntity entity, ReflectionTypes reflectionType) : this(null, entity, reflectionType) { }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredModificationsView); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredOutOffPhaseView); }
///<summary> /// Создается класс - хранилише обектов требующихся для отбражения вкладки ///</summary> ///<param name="displayingEntity">Содержимое вкладки</param> ///<param name="displayingText">Название вкладки</param> public DisplayingObject(IDisplayingEntity displayingEntity, string displayingText) { this.displayingEntity = displayingEntity; this.displayingText = displayingText; }
public void SetParameters(DisplayerParams parameters) { _typeOfReflection = parameters.TypeOfReflection; _requestedEntity = parameters.Page; _displayerText = parameters.PageCaption; }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceAvalonButtonM(IDisplayingEntity entity, ReflectionTypes reflectionType) : this(null, entity, reflectionType) { }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="displayer">Displayer in which entity should be displayed</param> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceAvalonButtonM(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType) : this(displayer, entity, reflectionType, "") { }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredDeferredItemsView); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredTemplateEngeneeringOrdersDirectiveListScreen); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredTemplateAgingProgramDirectiveListScreen); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredEngeneeringOrdersView); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredTemplateModificationDirectiveListScreen); }
public bool ContainedDataEquals(IDisplayingEntity obj) { return(obj is DispatchereDirectiveScreen); }
/// <summary> /// —оздает новый объект аргумента /// </summary> /// <param name="entity">—одержимое, в котором произошло событие</param>> public EntityCancelEventArgs(IDisplayingEntity entity) { _entity = entity; }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="displayer">Displayer in which entity should be displayed</param> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceSimpleButton(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType) : this(displayer, entity, reflectionType, "") { }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredAgingProgramView); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredCPCPDirectiveListScreen); }
public bool ContainedDataEquals(IDisplayingEntity obj) { return(Collection.Equals(obj.ContainedData)); }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> /// <param name="displayerText">Text to display</param> public ReferenceAvalonButtonM(IDisplayingEntity entity, ReflectionTypes reflectionType, string displayerText) : this(null, entity, reflectionType, displayerText) { }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceStatusImageLinkLabel(IDisplayingEntity entity, ReflectionTypes reflectionType) : this(null, entity, reflectionType) { }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredBaseDetailDirectivesView); }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> /// <param name="displayerText">Text to display</param> public ReferenceStatusImageLinkLabel(IDisplayingEntity entity, ReflectionTypes reflectionType, string displayerText) : this(null, entity, reflectionType, displayerText) { }
/// <summary> /// Creates new instance of ReferenceEventArgs /// </summary> /// <param name="requestedEntity">Entity to display</param> /// <param name="typeOfReflection">Displaying parameters</param> /// <param name="displayerText">Text of displayer's header</param> public ReferenceEventArgs(IDisplayingEntity requestedEntity, ReflectionTypes typeOfReflection, string displayerText) : this(requestedEntity, typeOfReflection, null, displayerText) { }
/// <summary> /// Creates new instance of reference avbutton /// </summary> /// <param name="displayer">Displayer in which entity should be displayed</param> /// <param name="entity">Entity to display</param> /// <param name="reflectionType">Type of displaying</param> public ReferenceStatusImageLinkLabel(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType) : this(displayer, entity, reflectionType, "") { }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected override bool IsSameType(IDisplayingEntity obj) { return(obj is DispatcheredADStatusView); }
/// <summary> /// Тот же тип у объекта что у данного класса или нет /// </summary> /// <param name="obj">Проверяемый объект</param> /// <returns></returns> protected abstract bool IsSameType(IDisplayingEntity obj);