Back to Website
Show / Hide Table of Contents

Class ModelComponent

Inheritance
System.Object
ModelComponent
Swatch
Container
InteractiveZone
BarcodeItem.EncodingOptions
BaseItem
PrintArea
Product
Surface
SurfaceMockup
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public abstract class ModelComponent : ICloneable

Constructors

ModelComponent(String, String)

Declaration
protected ModelComponent(string id = null, string name = "")
Parameters
Type Name Description
System.String id
System.String name

Fields

Tags

Declaration
public readonly Dictionary<string, object> Tags
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>

UserTagKey

Declaration
public static string UserTagKey
Field Value
Type Description
System.String

WarningTagKey

Declaration
public static string WarningTagKey
Field Value
Type Description
System.String

Properties

Id

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

Name

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Version

Declaration
public string Version { get; }
Property Value
Type Description
System.String

Methods

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

Clone(Boolean)

Declaration
public object Clone(bool keepIds)
Parameters
Type Name Description
System.Boolean keepIds
Returns
Type Description
System.Object

DeepClone<TItem>(TItem, Boolean)

Declaration
public virtual TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
    where TItem : ModelComponent
Parameters
Type Name Description
TItem clone
System.Boolean keepIds
Returns
Type Description
TItem
Type Parameters
Name Description
TItem

Equals(ModelComponent)

Declaration
protected bool Equals(ModelComponent other)
Parameters
Type Name Description
ModelComponent other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GenerateId()

Declaration
public static string GenerateId()
Returns
Type Description
System.String

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

OnPropertyChanged(String)

Declaration
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
Type Name Description
System.String propertyName

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback