C# 클래스 SIL.FieldWorks.Common.Framework.TestAccessorForFindOrCreateStyle

StylesXmlAccessor is an abstract class designed to be subclassed for a specific stylesheet. Here, so far, we just want to test one method of the base class, so we make a trivial subclass which trivially implements (by throwing) abstract methods not needed by the one we want to test. The FindOrCreateStyle method is normally called (indirectly) by CreateStyles(), which initializes m_databaseStyles to contain all the pre-existing styles. For this test we just do this in the constructor of our private subclass.
상속: SIL.FieldWorks.Common.Framework.StylesXmlAccessor
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
TestAccessorForFindOrCreateStyle ( SIL.FieldWorks.FDO.FdoCache cache ) : System

메소드 상세

TestAccessorForFindOrCreateStyle() 공개 메소드

public TestAccessorForFindOrCreateStyle ( SIL.FieldWorks.FDO.FdoCache cache ) : System
cache SIL.FieldWorks.FDO.FdoCache
리턴 System