Interface IImportable
Interface for property that can be imported.
Namespace: CCMS.BL.Services.EditorConfig.Properties.Base
Assembly: CCMS.BL.dll
Syntax
public interface IImportable
Properties
DefaultSection
Section that will appear, when property will be selected for import.
Declaration
string DefaultSection { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Import(FileInfo)
Import method called for each file in repository that match the section.
Declaration
ImportResult Import(FileInfo file)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.FileInfo | file | Path to file, from which the convention actually imported. |
Returns
| Type | Description |
|---|---|
| CCMS.BL.Services.EditorConfig.Import.ImportResult | List of string with weights. In the result of the import, all weights for each string from each import method will be summed, and ratio of each one will be calculated. |