C# Класс Praeclarum.UI.DocumentAppDelegate

Наследование: UIApplicationDelegate
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CurrentCulture System.Globalization.CultureInfo

Защищенные свойства (Protected)

Свойство Тип Описание
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