Show / Hide Table of Contents

Class ExternalRuleDirectories

A class that allows for simpler manipulation of the iLogic Addin's list of External Rule Directories.

Inheritance
System.Object
ExternalRuleDirectories
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: InventorShims
Assembly: InventorShims.dll
Syntax
public class ExternalRuleDirectories : IDisposable

Constructors

| Improve this Doc View Source

ExternalRuleDirectories()

Constructor that creates an ExternalRuleDirectories object.

Declaration
public ExternalRuleDirectories()
| Improve this Doc View Source

ExternalRuleDirectories(Application)

Constructor that creates an ExternalRuleDirectories object.

Declaration
public ExternalRuleDirectories(Application local_app)
Parameters
Type Name Description
Inventor.Application local_app

Takes an Inventor.Application object.

Properties

| Improve this Doc View Source

Count

Get the number of directories contained in ExternalRuleDirectories.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Directories

Access the iLogic External Rule Directories as a List of strings.

Declaration
public List<string> Directories { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Methods

| Improve this Doc View Source

Add(String)

Adds a directory to the iLogic Addin's list of External Rule Directories. Does not add the directory if it already exists in the list.

Declaration
public void Add(string directory)
Parameters
Type Name Description
System.String directory

Directory to add

| Improve this Doc View Source

Clear()

Clears all entries from the iLogic Addin's list of External Rule Directories.

Declaration
public void Clear()
| Improve this Doc View Source

Contains(String)

Determines whether a directory is in the iLogic Addin's list of External Rule Directories.

Declaration
public bool Contains(string directory)
Parameters
Type Name Description
System.String directory
Returns
Type Description
System.Boolean

Returns true if directory is found in the list.

| Improve this Doc View Source

Dispose()

Manually dispose of the ExternalRuleDirectories object.

Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Dispose of the ExternalRuleDirectories object.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

Finalize()

Finalizer

Declaration
protected void Finalize()
| Improve this Doc View Source

Remove(String)

Removes a directory from the iLogic Addin's list of External Rule Directories.

Declaration
public void Remove(string directory)
Parameters
Type Name Description
System.String directory

Directory to remove as a string.

Implements

System.IDisposable

Extension Methods

AttributeShim.SetAttributeValue(Object, String, String, String)
AttributeShim.SetAttributeValue(Object, String, String, Int32)
AttributeShim.SetAttributeValue(Object, String, String, Boolean)
AttributeShim.SetAttributeValue(Object, String, String, Double)
AttributeShim.CreateAttributeSet(Object, String)
AttributeShim.GetAttributeValue(Object, String, Object)
AttributeShim.RemoveAttribute(Object, String, Object)
AttributeShim.RemoveAttributeSet(Object, String)
AttributeShim.AttributeSetExists(Object, String)
AttributeShim.AttributeExists(Object, String, String)
AttributeShim.ObjectIsAttributeCapable(Object)
DocumentShim.GetDocumentFromObject(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX