Пример #1
0
 public PropertyContainerData(PropertyProviderData provider, IBoxedValue value = null, bool fixedValue = false)
 {
     this.provider = provider;
     Value         = value;
     Fixed         = fixedValue;
     attributes    = new Dictionary <int, IEnumerable <PropertyContainerData> >();
     relations     = new Dictionary <int, IEnumerable <PropertyContainerData> >();
     Initialize();
 }
Пример #2
0
 public AttachedRelationData(
     IRelation relation,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     ConditionRule conditions
     ) : this(relation, required, cardinality, mutable, permission, conditions, null)
 {
     PropertyProvider = new PropertyProviderData();
 }
Пример #3
0
 public AttachedAttrData(
     AttrData attr,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     IBoxedValue defaultValue,
     ConditionRule conditions
     ) : this(attr, required, cardinality, mutable, permission, defaultValue, conditions, null)
 {
     PropertyProvider = new PropertyProviderData();
     AttachmentID     = null;
 }
Пример #4
0
 public AttachedRelationData(
     IRelation relation,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     PropertyProviderData provider,
     ConditionRule conditions,
     int attachmentID
     ) : this(relation, required, cardinality, mutable, permission, conditions, provider)
 {
     AttachmentID = attachmentID;
 }
Пример #5
0
 public AttachedAttrData(
     AttrData attr,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     IBoxedValue defaultValue,
     PropertyProviderData provider,
     ConditionRule conditions,
     int attachmentID
     ) : this(attr, required, cardinality, mutable, permission, defaultValue, conditions, provider)
 {
     AttachmentID = attachmentID;
 }
Пример #6
0
 public PropertyContainerData(
     PropertyProviderData provider,
     Dictionary <int, IEnumerable <PropertyContainerData> > attributes,
     Dictionary <int, IEnumerable <PropertyContainerData> > relations,
     int containerID,
     string actorName,
     IBoxedValue value = null
     )
 {
     this.provider    = provider;
     Value            = value;
     ActorName        = actorName;
     this.attributes  = attributes;
     this.relations   = relations;
     this.ContainerID = containerID;
     Initialize();
 }
Пример #7
0
 private AttachedRelationData(
     IRelation relation,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     ConditionRule conditions,
     PropertyProviderData provider
     )
 {
     Relation         = relation;
     Required         = required;
     Mutable          = mutable;
     Cardinality      = cardinality;
     Permission       = permission;
     Conditions       = conditions;
     PropertyProvider = provider;
 }
Пример #8
0
 private AttachedAttrData(
     AttrData attr,
     bool required,
     int cardinality,
     bool mutable,
     int?permission,
     IBoxedValue defaultValue,
     ConditionRule conditions,
     PropertyProviderData provider
     )
 {
     Attribute        = attr;
     Required         = required;
     Cardinality      = cardinality;
     Mutable          = mutable;
     Permission       = permission;
     Conditions       = conditions;
     DefaultValue     = defaultValue;
     PropertyProvider = provider;
 }