Esempio n. 1
0
 protected void AddExport(Declaration declaration)
 {
     AddExports(new[] { declaration });
 }
Esempio n. 2
0
 internal DependencyElement(Declaration declaration, IEnumerable <Declaration> declarations, Type serviceType)
     : base(declarations)
 {
     _declaration = declaration;
     _serviceType = serviceType;
 }
Esempio n. 3
0
 internal PatternElement(Declaration declaration, IEnumerable <ConditionElement> conditions, PatternSourceElement source)
     : this(declaration, conditions)
 {
     Source = source;
 }
Esempio n. 4
0
 public void Add(Declaration declaration)
 {
     _symbolTable.Add(declaration);
 }
Esempio n. 5
0
 internal PatternElement(Declaration declaration, IEnumerable <ConditionElement> conditions)
 {
     Declaration = declaration;
     ValueType   = declaration.Type;
     _conditions = new List <ConditionElement>(conditions);
 }