Ejemplo n.º 1
0
 public ObjectCreation(object trigger, string objectId, ObjectTypeInfo objectTypeInfo,
                       int templateId = 0, bool isWeak = false, string displayName = null) :
     base(trigger, objectId, objectTypeInfo, templateId)
 {
     IsWeak      = isWeak;
     DisplayName = displayName;
 }
Ejemplo n.º 2
0
 public Event(object trigger, string objectId, ObjectTypeInfo objectType, int templateId)
 {
     ValidateObjectId(objectId);
     Trigger    = trigger;
     ObjectId   = objectId;
     ObjectType = objectType;
     TemplateId = templateId;
 }
Ejemplo n.º 3
0
 internal static bool Equals(ObjectTypeInfo obj1, ObjectTypeInfo obj2)
 {
     return
         (obj1.TypeName == obj2.TypeName &&
          obj1.IsTimeless == obj2.IsTimeless &&
          obj1.PrimaryPropertyName == obj2.PrimaryPropertyName &&
          obj1.CommentPropertyName == obj2.CommentPropertyName);
 }
Ejemplo n.º 4
0
 public PropertyChange(object trigger, string objectId, ObjectTypeInfo objectTypeInfo, string propertyName = null, string value = null, ValueType valueType = ValueType.Scalar, string oldValue = null, int templateId = 0)
     : base(trigger, objectId, objectTypeInfo, templateId)
 {
     PropertyName = propertyName;
     Value        = value;
     OldValue     = oldValue;
     ValueType    = valueType;
 }
Ejemplo n.º 5
0
 public ParentChildRelationChange(object trigger, string objectId, ObjectTypeInfo objectTypeInfo, string newParentObjectId = null, int templateId = 0, bool isWeak = false)
     : base(trigger, objectId, objectTypeInfo, templateId)
 {
     NewParentObjectId = newParentObjectId;
     IsWeak            = isWeak;
 }
Ejemplo n.º 6
0
 public ObjectDeletion(object trigger, string objectId, ObjectTypeInfo objectTypeInfo, int templateId = 0)
     : base(trigger, objectId, objectTypeInfo, templateId)
 {
 }