Skip to content

ATF Namespaces

Gary edited this page Jan 29, 2015 · 4 revisions

ATF is organized under a single namespace, Sce.Atf, which contains numerous nested namespaces.

Each namespace has an emphasis, although this is not rigid. Key namespaces are described below. Those marked * are especially important.

Some namespaces, such as Sce.Atf and Sce.Atf.Applications, are in more than one assembly. Others, such as Sce.Atf.Wpf, are in a single assembly (Atf.Gui.Wpf).

For a survey of representative and useful ATF classes, grouped by namespace, see Class Survey.

  • *Sce.Atf: Provide a variety of components, utilities, and interfaces. For example, it contains general purpose file dialogs, loggers, file utilities, GDI utilities, Windows® interoperability functions, LINQ (Language Integrated Query) classes, and mathematics utilities. It contains major interfaces, such as IDocument, IInitializable, and the context interfaces IValidationContext, IObservableContext, ITransactionContext, and ILockingContext.
  • *Sce.Atf.Adaptation: Classes that specialize in adapting objects to other types. It contains the interfaces IAdaptable and the key extension methods As<T>() and Cast<T>(). The Adaptation framework resides in this and the Sce.Atf.Controls.Adaptable namespace, so these namespaces provide adaptation support in ATF. For more information on adaptation, see Adaptation in ATF.
  • *Sce.Atf.Applications: This is the key namespace. Many important ATF components and interfaces reside here. This namespace provides a great variety of services, including many MEF components you can easily incorporate into applications. For more on ATF application basics, see ATF Application Basics and Services.
  • Sce.Atf.Controls: Many of ATF's controls are here, including special purpose dialogs and various tree related controls. This namespace provides many controls not in standard .NET Windows® Forms, including controls for editing numbers and file paths, a canvas, and tree controls. For information about using controls, see Controls in ATF.
    • *Sce.Atf.Controls.Adaptable: Controls with adapters, including the fundamental AdaptableControl. Control adapters give you an easy way to add abilities to certain controls without changing the control at all. For a discussion, see Control Adapters. The Adaptation framework resides in this and the Sce.Atf.Adaptation namespace, so these namespaces provide adaptation support in ATF.
    • Sce.Atf.Controls.Adaptable.Graphs: Classes that work with graphs and various controls using Direct2D. For more details, see Graphs in ATF.
    • Sce.Atf.Controls.PropertyEditing: Property editor controls and associated classes to edit many kinds of data. To learn about property editing, see Property Editing in ATF.
    • Sce.Atf.Controls.Timelines: Timeline classes and interfaces that are UI-platform-agnostic (such as Windows® Forms or WPF). For an example of a timeline application, see ATF Timeline Editor Sample and Timeline Editor Programming Discussion.
    • Sce.Atf.Controls.Timelines.Direct2D: Classes for working with timeline elements, including a renderer, control, and manipulators, that are dependent on the Windows® Forms UI platform and use Direct2D to render timeline objects.
  • Sce.Atf.Direct2D: Drawing facilities using Direct2D. For an example of its use, see the ATF Using Direct2D Sample.
  • *Sce.Atf.Dom: Classes that allow you to use a DOM for application data, including the very important DomNode, DomNodeAdapter, and DomNodeType. The Document Object Model (DOM) framework is defined here. See DOM in a Nutshell for an overview of working with the DOM.
  • Sce.Atf.Rendering: Facilities for rendering 3D graphics.
  • *Sce.Atf.Wpf: This and its nested namespaces provide WPF facilities.
    • Sce.Atf.Wpf.Applications: Variety of classes, components, and utilities for WPF. This namespace provides the Application Shell framework components used for WPF and is the WPF analog to Sce.Atf.Applications. For a sample WPF application using ATF, see ATF Simple DOM Editor WPF Sample.
    • Sce.Atf.Wpf.Behaviors: Classes to adapt WPF behavior to ATF.
    • Sce.Atf.Wpf.Controls: Provide various WPF controls.
    • Sce.Atf.Wpf.Controls.PropertyEditing: Similarly to Sce.Atf.Controls.PropertyEditing, these classes provide property editors, value editors, and associated classes for various kinds of data. For details on property editing, see Property Editing in ATF.
    • Sce.Atf.Wpf.Interop: Classes for running legacy code in WPF applications.
    • Sce.Atf.Wpf.Markup: Handle WPF markup extensions for XAML.
    • Sce.Atf.Wpf.Models: Provide services to manage controls that use the Model-View-Controller (MVC) design pattern in WPF. With the MVC control framework, you attach data controls to an underlying data model (usually the DOM) through adapter client classes that you define. The adapter client exposes, filters, and presents the data model in a way the control understands.
    • Sce.Atf.Wpf.ValueConverters: Classes that perform various type conversions, typically for converting bound values.

Topics in this section

Clone this wiki locally