Search Results for

Show / Hide Table of Contents

# Interface IAttachmentProvider

Contract for custom attachment storage providers used by the legacy attachment control.

###### Namespace: CuteWebUI

###### Assembly: AjaxUploader.dll

##### Syntax

    public interface IAttachmentProvider

### Methods

#### CloseQuery(object)

##### Declaration

    void CloseQuery(object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
object | cookie |

#### DeleteFile(Guid, object)

##### Declaration

    void DeleteFile(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

#### FileExists(Guid, object)

##### Declaration

    bool FileExists(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

##### Returns

Type | Description
--- | ---
bool |

#### GetFileName(Guid, object)

##### Declaration

    string GetFileName(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

##### Returns

Type | Description
--- | ---
string |

#### GetFileSize(Guid, object)

##### Declaration

    int GetFileSize(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

##### Returns

Type | Description
--- | ---
int |

#### HasTempPath(Guid, object)

##### Declaration

    string HasTempPath(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

##### Returns

Type | Description
--- | ---
string |

#### OpenFileStream(Guid, object)

##### Declaration

    Stream OpenFileStream(Guid guid, object cookie)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |
object | cookie |

##### Returns

Type | Description
--- | ---
Stream |

#### OpenQuery(Guid)

##### Declaration

    object OpenQuery(Guid guid)

##### Parameters

Type | Name | Description
--- | --- | ---
Guid | guid |

##### Returns

Type | Description
--- | ---
object |