public CalculatedValueReferenceDecorator([NotNull] IValueReference <TValue> valueReferenceImplementation, IValueRoleFactory <TValue> roleFactory, string name, bool allowNameInValue = true, bool allowDefaultTypePresentation = true) : base(valueReferenceImplementation, roleFactory) { DefaultName = name; AllowNameInValue = allowNameInValue; AllowDefaultTypePresentation = allowDefaultTypePresentation; }
public NamedReferenceDecorator(IValueReference <TValue> originalReference, [NotNull] string name, ValueOriginKind kind, ValueFlags flags, [CanBeNull] IMetadataTypeLite declaredType, IValueRoleFactory <TValue> roleFactory, bool isNameFromValue = false) { myOriginalReference = originalReference; DefaultName = name; OriginKind = kind; DefaultFlags = flags; DeclaredType = declaredType; myRoleFactory = roleFactory; IsNameFromValue = isNameFromValue; }
protected ValueReferenceDecoratorBase([NotNull] IValueReference <TValue> valueReferenceImplementation, IValueRoleFactory <TValue> roleFactory) { myValueReferenceImplementation = valueReferenceImplementation; myRoleFactory = roleFactory; }
public TextValueReference(IValueReference <TValue> valueReferenceImplementation, IValueRoleFactory <TValue> roleFactory) : base(valueReferenceImplementation, roleFactory) { }