Class DefaultItemFactory
Creates an instance of a strongly-typed class (which inherits from Item) that represents a specific item type
Inheritance
System.Object
DefaultItemFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public class DefaultItemFactory : IItemFactory
Remarks
For any core Aras item type, a model from the Innovator.Client.Model namespace
will be returned. In all other cases, a null
will be returned and an
Item will be created
Methods
| Improve this Doc View SourceNewItem(ElementFactory, String)
Creates an instance of a strongly-typed class (which inherits from Item) that
represents the item type type
Declaration
public Item NewItem(ElementFactory factory, string type)
Parameters
Type | Name | Description |
---|---|---|
ElementFactory | factory | Factory to be passed to the Item constructor |
System.String | type | Item type name |
Returns
Type | Description |
---|---|
Item | For any core Aras item type, a model from the Innovator.Client.Model namespace will be returned. In all other cases, an Item will be returned |