Class ArubaAttachmentTypeBase
Implementation of the IAttachmentType as an abstract base class.
Inheritance
ArubaAttachmentTypeBase
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Aruba.Infrastructure.dll
Syntax
public abstract class ArubaAttachmentTypeBase : IAttachmentType, IEquatable<IAttachmentType>
Properties
View SourceCaptureInterface
Gets the capture interface.
Declaration
public virtual Type CaptureInterface { get; }
Property Value
Type | Description |
---|---|
Type |
EditorPath
Gets the editor path.
Declaration
public virtual string EditorPath { get; }
Property Value
Type | Description |
---|---|
string |
FileFilter
Gets the file filter.
Declaration
public abstract string FileFilter { get; }
Property Value
Type | Description |
---|---|
string |
Name
Gets the name.
Declaration
public abstract string Name { get; }
Property Value
Type | Description |
---|---|
string |
Parameters
Gets or sets the attachment parameters.
Declaration
public virtual IEnumerable<AttachmentParameterDefinition> Parameters { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<AttachmentParameterDefinition> |
ShowOnlyInTemplateEditor
Gets a value indicating whether the AttachmentType should only be available in the template editor.
Declaration
public virtual bool ShowOnlyInTemplateEditor { get; }
Property Value
Type | Description |
---|---|
bool |
SupportedExtensions
Gets the supported attachment extensions.
Declaration
public abstract IEnumerable<string> SupportedExtensions { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
TempDirectory
Gets the temp file directory.
Declaration
public virtual string TempDirectory { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceCreateNew()
Creates a new attachment.
Declaration
public abstract IAttachmentType CreateNew()
Returns
Type | Description |
---|---|
IAttachmentType | The attachment. |
CreateNewParameters()
Creates new collection of AttachmentParameterDefinition.
Declaration
public virtual IEnumerable<AttachmentParameterDefinition> CreateNewParameters()
Returns
Type | Description |
---|---|
IEnumerable<AttachmentParameterDefinition> | The attachment parameters collection. |
Equals(IAttachmentType)
Checks if two attachments types are equal.
Declaration
public virtual bool Equals(IAttachmentType other)
Parameters
Type | Name | Description |
---|---|---|
IAttachmentType | other | The attachment type to compare against. |
Returns
Type | Description |
---|---|
bool | Whether they are equal. |
Equals(object)
Checks if two attachments types are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The attachment type to compare against. |
Returns
Type | Description |
---|---|
bool | Whether they are equal. |
Overrides
View SourceGetHashCode()
Gets the attachment hash code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code. |