public static RealStorageSettings Create(IMainStorageContext context, IStorage parentStorage) { return(Create(context, new List <IStorage>() { parentStorage })); }
public static NumberValue ConvertNullValueToNumberValue(NullValue source, IMainStorageContext mainStorageContext) { var result = new NumberValue(null); FillAnnotationsModalitiesAndSections(source, result, mainStorageContext); return(result); }
public static RealStorageSettings Create(IMainStorageContext context, List <IStorage> parentStorages) { var result = new RealStorageSettings(); result.MainStorageContext = context; result.ParentsStorages = (parentStorages?.ToList()) ?? new List <IStorage>(); result.DefaultSettingsOfCodeEntity = parentStorages?.FirstOrDefault()?.DefaultSettingsOfCodeEntity; return(result); }
public InheritancePublicFactsReplicator(IMainStorageContext context, RealStorage publicFactsStorage) : base(context.Logger) { _context = context; _publicFactsStorage = publicFactsStorage.LogicalStorage; _publicInheritanceStorage = publicFactsStorage.InheritanceStorage; _inheritanceResolver = context.DataResolversFactory.GetInheritanceResolver(); _resolverOptions = new ResolverOptions() { AddTopType = false }; }
public StorageComponent(IMainStorageContext context, IStandaloneStorage parentStorage, KindOfStorage kindGlobalOfStorage) : base(context.Logger) { _context = context; _logicQueryParseAndCache = context.LogicQueryParseAndCache; #if DEBUG //Log($"_logicQueryParseAndCache == null = {_logicQueryParseAndCache == null}"); #endif _parentStorage = parentStorage; _kindGlobalOfStorage = kindGlobalOfStorage; }
public StrongIdentifierLinearResolver(IMainStorageContext context) : base(context) { }
private static void FillAnnotationsModalitiesAndSections(AnnotatedItem source, AnnotatedItem dest, IMainStorageContext mainStorageContext) { dest.AppendAnnotations(source); }
public static NumberValue ConvertLogicalValueToNumberValue(LogicalValue source, IMainStorageContext mainStorageContext) { var result = new NumberValue(source.AsLogicalValue.SystemValue); FillAnnotationsModalitiesAndSections(source, result, mainStorageContext); return(result); }
public TriggersResolver(IMainStorageContext context) : base(context) { }
public MethodsResolver(IMainStorageContext context) : base(context) { }
public ChannelsResolver(IMainStorageContext context) : base(context) { }
public InheritanceResolver(IMainStorageContext context) : base(context) { }
public BinaryOperatorNode(IMainStorageContext context) : base(context) { }
protected BaseResolver(IMainStorageContext context) : base(context.Logger) { _context = context; }
public DataResolversFactory(IMainStorageContext context) : base(context.Logger) { _context = context; }
public OperatorsResolver(IMainStorageContext context) : base(context) { }
public ExpressionNode(IMainStorageContext context) : base(context) { }
public CodeBlockNode(IMainStorageContext context) : base(context) { }
public BaseInstancesStorageComponent(IMainStorageContext context) : base(context.Logger) { _context = context; }
public FuzzyLogicResolver(IMainStorageContext context) : base(context) { }
public NumberValueLinearResolver(IMainStorageContext context) : base(context) { }
protected BaseNode(IMainStorageContext context) : base(context.Logger) { _context = context; }
public Compiler(IMainStorageContext context) : base(context.Logger) { _context = context; }
public CommonNamesStorage(IMainStorageContext context) : base(context.Logger) { _context = context; }
public VarsResolver(IMainStorageContext context) : base(context) { }
public EntityConditionNode(IMainStorageContext context) : base(context) { }
public LogicalValueLinearResolver(IMainStorageContext context) : base(context) { }
public AstErrorStatementNode(IMainStorageContext context) : base(context) { }
public BaseLoaderFromSourceCode(IMainStorageContext context) : base(context.Logger) { _context = context; }
public UseInheritanceStatementNode(IMainStorageContext context) : base(context) { }