57 lines
2.0 KiB
C#
57 lines
2.0 KiB
C#
using Org.BouncyCastle.Math.EC;
|
|
using Sarand.BusinessMgr.Net.Standard.Base.Bus.Control;
|
|
using Sarand.BusinessMgr.Net.Standard.Base.Core;
|
|
using Sarand.Net.Standard.Base.Core;
|
|
using Sarand.Net.Standard.Base.Utils;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using static Sarand.BusinessMgr.Net.Standard.Base.App.SbmInstanceConfig;
|
|
|
|
namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
|
{
|
|
//=======================================================================
|
|
/// <summary>
|
|
/// Application and Owner configuration associated with an instance.
|
|
/// </summary>
|
|
public abstract class SbmInstanceConfig : ISbmInstanceConfig
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SbmInstanceConfig() { }
|
|
|
|
//-------------------------------------------------------------------
|
|
// Application options.
|
|
|
|
public abstract bool AllowApplicationOption(Sbm.ConfigOption option, bool defaultResponse);
|
|
|
|
//-------------------------------------------------------------------
|
|
// Contacts.
|
|
|
|
// Supported affiliate types.
|
|
public abstract bool AllowAffiliateType(Sbm.AffiliateType type, bool defaultResponse);
|
|
|
|
// Supported Association types.
|
|
public abstract bool AllowAssociationType(Sbm.AssociationType type, bool defaultResponse);
|
|
|
|
//-------------------------------------------------------------------
|
|
// Transactions.
|
|
|
|
// Supported Transaction types.
|
|
public abstract bool AllowTransactionType(Sbm.TransactionType type, bool defaultResponse);
|
|
|
|
//-------------------------------------------------------------------
|
|
// Interfaces.
|
|
|
|
/// <summary>
|
|
/// Whether the Interface Category is allowed.
|
|
/// </summary>
|
|
public abstract bool AllowInterfaceCategory(SaInterfaceCategory interfaceCategory, bool defaultResponse);
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|