The properties of the CodePersister class are listed below. For a complete list of CodePersister class members, see the CodePersister Members topic.
CanReload | This can be called to check if the persister can be reloaded. This will return true by default, thereby forcing a reload of the designer. |
DocumentCodeClass | Class that is currently being edited. This must be overriden by subclasses. Note that you should always get the editing class from the source file; never cache it. As the source file changes you do not know if the underlying implemenation will keep the class instances in sync with the file. |
FirstLoadException | First load exception that occurs. This allows the parsing to continue on and still report the first failure. |
Host | IDesignerHost this persister should communicate with. |
IgnoreCase | [To be supplied.] |
SourceFile | Source code that this persister should read/write to. Since the sub objects from source file (i.e. class, method, etc) change often, only the sourcefile can be cached. You should never cache instances you get from this source file. |
ValueProviderSorter | [To be supplied.] |
CodePersister Class | System.ComponentModel.Design Namespace