C# Class AcManager.Tools.AcObjectsNew.AcCommonObject

Inheritance: AcObjectNew
Afficher le fichier Open project: gro-ove/actools Class Usage Examples

Méthodes publiques

Свойство Type Description
FileAcManager IFileAcManager

Private Properties

Свойство Type Description
IsSeveralAllowed bool
OnImageChanged void

Méthodes publiques

Méthode Description
AddError ( AcErrorType type ) : void
AddError ( IAcError error ) : void
CheckIfNew ( ) : void
ClearErrors ( ) : void
ClearErrors ( AcErrorCategory category ) : void
CloneAsync ( string id ) : Task
Delete ( ) : void
ErrorIf ( bool condition, AcErrorType type ) : void

Add error if condition is true, remove existing if exists otherwise.

HandleChangedFile ( string filename ) : bool
HasError ( AcErrorType type ) : bool
Load ( ) : void
Reload ( ) : void
RemoveError ( AcErrorType type ) : void
RemoveError ( IAcError error ) : void
Save ( ) : void
SortAffectingValueChanged ( ) : void
ViewInExplorer ( ) : void

Méthodes protégées

Méthode Description
AcCommonObject ( IFileAcManager manager, string id, bool enabled ) : System
GetLocation ( ) : string
InitializeLocations ( ) : void
InitializeLocationsOnce ( ) : void
LoadOrThrow ( ) : void
OnImageChangedValue ( string filename ) : void
Rename ( string newId ) : void
Toggle ( ) : void

Private Methods

Méthode Description
IsSeveralAllowed ( AcErrorType errorType ) : bool
OnImageChanged ( string propertyName ) : void

Method Details

AcCommonObject() protected méthode

protected AcCommonObject ( IFileAcManager manager, string id, bool enabled ) : System
manager IFileAcManager
id string
enabled bool
Résultat System

AddError() public méthode

public AddError ( AcErrorType type ) : void
type AcErrorType
Résultat void

AddError() public méthode

public AddError ( IAcError error ) : void
error IAcError
Résultat void

CheckIfNew() public méthode

public CheckIfNew ( ) : void
Résultat void

ClearErrors() public méthode

public ClearErrors ( ) : void
Résultat void

ClearErrors() public méthode

public ClearErrors ( AcErrorCategory category ) : void
category AcErrorCategory
Résultat void

CloneAsync() public méthode

public CloneAsync ( string id ) : Task
id string
Résultat Task

Delete() public méthode

public Delete ( ) : void
Résultat void

ErrorIf() public méthode

Add error if condition is true, remove existing if exists otherwise.
public ErrorIf ( bool condition, AcErrorType type ) : void
condition bool
type AcErrorType
Résultat void

GetLocation() protected méthode

protected GetLocation ( ) : string
Résultat string

HandleChangedFile() public méthode

public HandleChangedFile ( string filename ) : bool
filename string
Résultat bool

HasError() public méthode

public HasError ( AcErrorType type ) : bool
type AcErrorType
Résultat bool

InitializeLocations() protected méthode

protected InitializeLocations ( ) : void
Résultat void

InitializeLocationsOnce() protected méthode

protected InitializeLocationsOnce ( ) : void
Résultat void

Load() public final méthode

public final Load ( ) : void
Résultat void

LoadOrThrow() protected abstract méthode

protected abstract LoadOrThrow ( ) : void
Résultat void

OnImageChangedValue() protected méthode

protected OnImageChangedValue ( string filename ) : void
filename string
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

RemoveError() public méthode

public RemoveError ( AcErrorType type ) : void
type AcErrorType
Résultat void

RemoveError() public méthode

public RemoveError ( IAcError error ) : void
error IAcError
Résultat void

Rename() protected méthode

protected Rename ( string newId ) : void
newId string
Résultat void

Save() public abstract méthode

public abstract Save ( ) : void
Résultat void

SortAffectingValueChanged() public méthode

public SortAffectingValueChanged ( ) : void
Résultat void

Toggle() protected méthode

protected Toggle ( ) : void
Résultat void

ViewInExplorer() public méthode

public ViewInExplorer ( ) : void
Résultat void

Property Details

FileAcManager public_oe property

public IFileAcManager FileAcManager
Résultat IFileAcManager