C# 클래스 Praeclarum.UI.DocumentAppDelegate

상속: UIApplicationDelegate
파일 보기 프로젝트 열기: praeclarum/Praeclarum

공개 프로퍼티들

프로퍼티 타입 설명
CurrentCulture System.Globalization.CultureInfo

보호된 프로퍼티들

프로퍼티 타입 설명
DropboxAppFolder bool
DropboxSyncKey string
DropboxSyncSecret string
detailNav UINavigationController
docListNav UINavigationController
lastOpenTime System.DateTime
mru MRU
window UIWindow

Private Properties

프로퍼티 타입 설명
AddDocRef void
AddFolder void
CloseOpenedDoc System.Threading.Tasks.Task
CreateDocListHierarchy System.Threading.Tasks.Task
DeleteDocs System.Threading.Tasks.Task
DescribeFiles string
DuplicateFile System.Threading.Tasks.Task
GenerateDocumentThumbnailAsync Task
GetDirectoryDepth int
GetPasteboardText string
HandleDropboxUrl bool
HandleFilesChanged void
HandleShortcutItemAsync System.Threading.Tasks.Task
InitFileSystem System.Threading.Tasks.Task
InitializeFileSystemAsync System.Threading.Tasks.Task
InvalidateThumbnail void
MoveDoc System.Threading.Tasks.Task
OpenLastDocument System.Threading.Tasks.Task
OpenPendingUrl void
OpenPendingUrlAsync System.Threading.Tasks.Task
ShouldRestoreDocs bool
ShowErrorAndExit void
UpdateCurrentCulture void

공개 메소드들

메소드 설명
AddAndOpenDocRef ( DocumentReference dr ) : System.Threading.Tasks.Task
AddAndOpenNewDocument ( ) : System.Threading.Tasks.Task
Alert ( string title, Exception ex ) : void
CanOpen ( int docIndex ) : bool
CloseDocumentEditor ( IDocumentEditor editor, bool unbindUI, bool deleteThumbnail, bool reloadThumbnail ) : System.Threading.Tasks.Task
DeleteDocuments ( IFile files, UIBarButtonItem deleteButton ) : Task
DeleteOpenedDocument ( UIBarButtonItem deleteButton ) : void
DidEnterBackground ( UIApplication application ) : void
DismissSheetsAndPopovers ( bool animated = true ) : bool
DuplicateDocuments ( IFile files, UIBarButtonItem duplicateButton ) : Task
FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : bool
GenerateThumbnailAsync ( DocumentReference docRef, Praeclarum size, Theme theme ) : Task
GetPatronMonthlyPrices ( ) : string>>.IEnumerable
GetThumbnailKey ( IFile file, Theme theme ) : string
MoveDocuments ( IFile files, UIBarButtonItem duplicateButton, UIViewController fromViewController ) : Task
OpenDirectory ( int docIndex, bool animated ) : void
OpenDocument ( int docIndex, bool animated ) : System.Threading.Tasks.Task
OpenDocument ( string path, bool animated ) : Task
OpenUrl ( UIApplication application, NSUrl url, string sourceApplication, NSObject annotation ) : bool
PerformActionForShortcutItem ( UIApplication application, UIApplicationShortcutItem shortcutItem, UIOperationHandler completionHandler ) : void
PerformActionOnDocument ( DocumentReference docRef, UIViewController fromController, UIBarButtonItem fromButton ) : System.Threading.Tasks.Task
RestoreDocumentation ( ) : System.Threading.Tasks.Task
SetFileSystemAsync ( IFileSystem newFileSystem, bool animated ) : System.Threading.Tasks.Task
ShowAddUI ( UIBarButtonItem addButton, bool dup, bool folder ) : void
ShowPatronAsync ( ) : System.Threading.Tasks.Task
ShowSettings ( UIViewController controller ) : void
ShowStorage ( UIViewController controller ) : void
UpdateDocListAsync ( ) : System.Threading.Tasks.Task
UpdateDocListName ( int docIndex ) : void
UpdateTheme ( ) : void
ValidateNewName ( string dir, string t, string existingName ) : Task
WillEnterForeground ( UIApplication application ) : void
WillTerminate ( UIApplication application ) : void

보호된 메소드들

메소드 설명
CreateDirectoryViewController ( string path ) : DocumentsViewController
CreateDocumentsNavigationController ( DocumentsViewController docList ) : UINavigationController
CreateSettings ( ) : IDocumentAppSettings
CreateSettingsForm ( ) : PForm
GetNewDocumentText ( ) : string
GetPathFromRawPath ( string rawPath ) : string
GetPathFromTitle ( string rawTitle ) : string
OpenPath ( string path ) : System.Threading.Tasks.Task
OpenUrlAsync ( NSUrl url ) : System.Threading.Tasks.Task
SetRootViewController ( ) : void
SetTheme ( Theme newTheme ) : void
ShowEditor ( int docIndex, bool advance, bool animated, UIViewController newEditorVC ) : void
UpdateFonts ( ) : void

비공개 메소드들

메소드 설명
AddDocRef ( DocumentReference dr ) : void
AddFolder ( ) : void
CloseOpenedDoc ( bool reloadThumbnail = true ) : System.Threading.Tasks.Task
CreateDocListHierarchy ( string dir, bool animated ) : System.Threading.Tasks.Task
DeleteDocs ( string paths ) : System.Threading.Tasks.Task
DescribeFiles ( IFile files ) : string
DuplicateFile ( IFile file ) : System.Threading.Tasks.Task
GenerateDocumentThumbnailAsync ( IDocument s, Praeclarum size, Theme theme ) : Task
GetDirectoryDepth ( string directory ) : int
GetPasteboardText ( ) : string
HandleDropboxUrl ( NSUrl url ) : bool
HandleFilesChanged ( object sender, EventArgs e ) : void
HandleShortcutItemAsync ( UIApplicationShortcutItem scitem ) : System.Threading.Tasks.Task
InitFileSystem ( ) : System.Threading.Tasks.Task
InitializeFileSystemAsync ( IFileSystem fs ) : System.Threading.Tasks.Task
InvalidateThumbnail ( IFile file, bool deleteThumbnail, bool reloadThumbnail ) : void
MoveDoc ( IFile file, DocumentsViewController listC, IFileSystem dest, string destDir, bool animated ) : System.Threading.Tasks.Task
OpenLastDocument ( ) : System.Threading.Tasks.Task
OpenPendingUrl ( NSTimer obj ) : void
OpenPendingUrlAsync ( ) : System.Threading.Tasks.Task
ShouldRestoreDocs ( ) : bool
ShowErrorAndExit ( Exception exception ) : void
UpdateCurrentCulture ( ) : void

메소드 상세

AddAndOpenDocRef() 공개 메소드

public AddAndOpenDocRef ( DocumentReference dr ) : System.Threading.Tasks.Task
dr Praeclarum.App.DocumentReference
리턴 System.Threading.Tasks.Task

AddAndOpenNewDocument() 공개 메소드

public AddAndOpenNewDocument ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Alert() 공개 정적인 메소드

public static Alert ( string title, Exception ex ) : void
title string
ex System.Exception
리턴 void

CanOpen() 공개 메소드

public CanOpen ( int docIndex ) : bool
docIndex int
리턴 bool

CloseDocumentEditor() 공개 메소드

public CloseDocumentEditor ( IDocumentEditor editor, bool unbindUI, bool deleteThumbnail, bool reloadThumbnail ) : System.Threading.Tasks.Task
editor IDocumentEditor
unbindUI bool
deleteThumbnail bool
reloadThumbnail bool
리턴 System.Threading.Tasks.Task

CreateDirectoryViewController() 보호된 메소드

protected CreateDirectoryViewController ( string path ) : DocumentsViewController
path string
리턴 DocumentsViewController

CreateDocumentsNavigationController() 보호된 메소드

protected CreateDocumentsNavigationController ( DocumentsViewController docList ) : UINavigationController
docList DocumentsViewController
리턴 UINavigationController

CreateSettings() 보호된 메소드

protected CreateSettings ( ) : IDocumentAppSettings
리턴 IDocumentAppSettings

CreateSettingsForm() 보호된 메소드

protected CreateSettingsForm ( ) : PForm
리턴 PForm

DeleteDocuments() 공개 메소드

public DeleteDocuments ( IFile files, UIBarButtonItem deleteButton ) : Task
files IFile
deleteButton UIBarButtonItem
리턴 Task

DeleteOpenedDocument() 공개 메소드

public DeleteOpenedDocument ( UIBarButtonItem deleteButton ) : void
deleteButton UIBarButtonItem
리턴 void

DidEnterBackground() 공개 메소드

public DidEnterBackground ( UIApplication application ) : void
application UIApplication
리턴 void

DismissSheetsAndPopovers() 공개 메소드

public DismissSheetsAndPopovers ( bool animated = true ) : bool
animated bool
리턴 bool

DuplicateDocuments() 공개 메소드

public DuplicateDocuments ( IFile files, UIBarButtonItem duplicateButton ) : Task
files IFile
duplicateButton UIBarButtonItem
리턴 Task

FinishedLaunching() 공개 메소드

public FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : bool
application UIApplication
launchOptions NSDictionary
리턴 bool

GenerateThumbnailAsync() 공개 메소드

public GenerateThumbnailAsync ( DocumentReference docRef, Praeclarum size, Theme theme ) : Task
docRef Praeclarum.App.DocumentReference
size Praeclarum
theme Theme
리턴 Task

GetNewDocumentText() 보호된 메소드

protected GetNewDocumentText ( ) : string
리턴 string

GetPathFromRawPath() 보호된 정적인 메소드

protected static GetPathFromRawPath ( string rawPath ) : string
rawPath string
리턴 string

GetPathFromTitle() 보호된 메소드

protected GetPathFromTitle ( string rawTitle ) : string
rawTitle string
리턴 string

GetPatronMonthlyPrices() 공개 메소드

public GetPatronMonthlyPrices ( ) : string>>.IEnumerable
리턴 string>>.IEnumerable

GetThumbnailKey() 공개 메소드

public GetThumbnailKey ( IFile file, Theme theme ) : string
file IFile
theme Theme
리턴 string

MoveDocuments() 공개 메소드

public MoveDocuments ( IFile files, UIBarButtonItem duplicateButton, UIViewController fromViewController ) : Task
files IFile
duplicateButton UIBarButtonItem
fromViewController UIViewController
리턴 Task

OpenDirectory() 공개 메소드

public OpenDirectory ( int docIndex, bool animated ) : void
docIndex int
animated bool
리턴 void

OpenDocument() 공개 메소드

public OpenDocument ( int docIndex, bool animated ) : System.Threading.Tasks.Task
docIndex int
animated bool
리턴 System.Threading.Tasks.Task

OpenDocument() 공개 메소드

public OpenDocument ( string path, bool animated ) : Task
path string
animated bool
리턴 Task

OpenPath() 보호된 메소드

protected OpenPath ( string path ) : System.Threading.Tasks.Task
path string
리턴 System.Threading.Tasks.Task

OpenUrl() 공개 메소드

public OpenUrl ( UIApplication application, NSUrl url, string sourceApplication, NSObject annotation ) : bool
application UIApplication
url NSUrl
sourceApplication string
annotation NSObject
리턴 bool

OpenUrlAsync() 보호된 메소드

protected OpenUrlAsync ( NSUrl url ) : System.Threading.Tasks.Task
url NSUrl
리턴 System.Threading.Tasks.Task

PerformActionForShortcutItem() 공개 메소드

public PerformActionForShortcutItem ( UIApplication application, UIApplicationShortcutItem shortcutItem, UIOperationHandler completionHandler ) : void
application UIApplication
shortcutItem UIApplicationShortcutItem
completionHandler UIOperationHandler
리턴 void

PerformActionOnDocument() 공개 메소드

public PerformActionOnDocument ( DocumentReference docRef, UIViewController fromController, UIBarButtonItem fromButton ) : System.Threading.Tasks.Task
docRef Praeclarum.App.DocumentReference
fromController UIViewController
fromButton UIBarButtonItem
리턴 System.Threading.Tasks.Task

RestoreDocumentation() 공개 메소드

public RestoreDocumentation ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SetFileSystemAsync() 공개 메소드

public SetFileSystemAsync ( IFileSystem newFileSystem, bool animated ) : System.Threading.Tasks.Task
newFileSystem IFileSystem
animated bool
리턴 System.Threading.Tasks.Task

SetRootViewController() 보호된 메소드

protected SetRootViewController ( ) : void
리턴 void

SetTheme() 보호된 메소드

protected SetTheme ( Theme newTheme ) : void
newTheme Theme
리턴 void

ShowAddUI() 공개 메소드

public ShowAddUI ( UIBarButtonItem addButton, bool dup, bool folder ) : void
addButton UIBarButtonItem
dup bool
folder bool
리턴 void

ShowEditor() 보호된 메소드

protected ShowEditor ( int docIndex, bool advance, bool animated, UIViewController newEditorVC ) : void
docIndex int
advance bool
animated bool
newEditorVC UIViewController
리턴 void

ShowPatronAsync() 공개 메소드

public ShowPatronAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ShowSettings() 공개 메소드

public ShowSettings ( UIViewController controller ) : void
controller UIViewController
리턴 void

ShowStorage() 공개 메소드

public ShowStorage ( UIViewController controller ) : void
controller UIViewController
리턴 void

UpdateDocListAsync() 공개 메소드

public UpdateDocListAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

UpdateDocListName() 공개 메소드

public UpdateDocListName ( int docIndex ) : void
docIndex int
리턴 void

UpdateFonts() 보호된 메소드

protected UpdateFonts ( ) : void
리턴 void

UpdateTheme() 공개 메소드

public UpdateTheme ( ) : void
리턴 void

ValidateNewName() 공개 정적인 메소드

public static ValidateNewName ( string dir, string t, string existingName ) : Task
dir string
t string
existingName string
리턴 Task

WillEnterForeground() 공개 메소드

public WillEnterForeground ( UIApplication application ) : void
application UIApplication
리턴 void

WillTerminate() 공개 메소드

public WillTerminate ( UIApplication application ) : void
application UIApplication
리턴 void

프로퍼티 상세

CurrentCulture 공개적으로 정적으로 프로퍼티

public static CultureInfo,System.Globalization CurrentCulture
리턴 System.Globalization.CultureInfo

DropboxAppFolder 보호되어 있는 프로퍼티

protected bool DropboxAppFolder
리턴 bool

DropboxSyncKey 보호되어 있는 프로퍼티

protected string DropboxSyncKey
리턴 string

DropboxSyncSecret 보호되어 있는 프로퍼티

protected string DropboxSyncSecret
리턴 string

detailNav 보호되어 있는 프로퍼티

protected UINavigationController detailNav
리턴 UINavigationController

docListNav 보호되어 있는 프로퍼티

protected UINavigationController docListNav
리턴 UINavigationController

lastOpenTime 보호되어 있는 프로퍼티

protected DateTime,System lastOpenTime
리턴 System.DateTime

mru 보호되어 있는 프로퍼티

protected MRU mru
리턴 MRU

window 보호되어 있는 프로퍼티

protected UIWindow window
리턴 UIWindow