Deveel.Data.DatabaseExtensions.AsEventSource C# (CSharp) Метод

AsEventSource() публичный статический Метод

public static AsEventSource ( this database ) : IEventSource
database this
Результат IEventSource
        public static IEventSource AsEventSource(this IDatabase database)
        {
            if (database == null)
                return null;

            if (database is IEventSource)
                return (IEventSource) database;

            return new EventSource(database.System.AsEventSource());
        }