예제 #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;
 }
예제 #2
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;
 }
예제 #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);
 }
예제 #4
0
 public Event(object trigger, string objectId, ObjectTypeInfo objectType, int templateId)
 {
     ValidateObjectId(objectId);
     Trigger    = trigger;
     ObjectId   = objectId;
     ObjectType = objectType;
     TemplateId = templateId;
 }
예제 #5
0
 public ObjectDeletion(object trigger, string objectId, ObjectTypeInfo objectTypeInfo, int templateId = 0)
     : base(trigger, objectId, objectTypeInfo, templateId)
 {
 }
예제 #6
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;
 }
예제 #7
0
 public ObjectCreation(object trigger, string objectId, ObjectTypeInfo objectTypeInfo, int templateId = 0, bool isWeak = false) :
     base(trigger, objectId, objectTypeInfo, templateId)
 {
     IsWeak = isWeak;
 }