/// <summary> /// Creates a new componen type. /// </summary> /// <param name="id">The unique identifier for this component type.</param> /// <param name="collection">The collection this component belongs to, or null if does not belong to one.</param> /// <param name="item">The item this component type implements within the collection.</param> /// <param name="name">The name of this component type.</param> /// <param name="connectionNames">The connection names for this component type.</param> public ComponentType(Guid?id, ComponentTypeCollection collection, ComponentTypeCollectionItem item, ComponentName name, IEnumerable <ConnectionName> connectionNames, IEnumerable <ComponentConfiguration> configurations) : base(collection, item) { Id = id; Name = name; ConnectionNames = connectionNames.ToList(); Configurations = configurations.ToList(); }
private bool Equals(ComponentTypeCollection other) { return(Equals(Value, other.Value)); }
public CollectionType(ComponentTypeCollection collection, ComponentTypeCollectionItem collectionItem) { Collection = collection; CollectionItem = collectionItem; }