Search Results for

    Show / Hide Table of Contents

    Class Service

    This class is used as a base for different game services that are available application-wide.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    Clock
    ErrorHandler
    FastRandom
    Random
    ScreenContextManager
    Settings
    Storage
    UpdatableService
    XRPlatform
    Implements
    IDependencyObject
    Inherited Members
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Services
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class Service : AttachableObject, IDependencyObject

    Methods

    OnActivated()

    Invoked when the object is activated once it is attached.

    Declaration
    protected override void OnActivated()
    Overrides
    AttachableObject.OnActivated()

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    AttachableObject.OnAttached()

    OnDeactivated()

    Invoked when the object is deactivated.

    Declaration
    protected override void OnDeactivated()
    Overrides
    AttachableObject.OnDeactivated()

    OnDestroy()

    Invoked when the object is about to be disposed.

    Declaration
    protected override void OnDestroy()
    Overrides
    AttachableObject.OnDestroy()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    AttachableObject.OnDetach()

    OnLoaded()

    Invoked when the object is loaded.

    Declaration
    protected override void OnLoaded()
    Overrides
    AttachableObject.OnLoaded()

    Start()

    Invoked to start the object.

    Declaration
    protected override void Start()
    Overrides
    AttachableObject.Start()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX