Esempio n. 1
0
 public static UnifiedEventDefinition Create(
     UnifiedSet <UnifiedAnnotation> annotations = null,
     UnifiedSet <UnifiedModifier> modifiers     = null,
     UnifiedType type = null,
     UnifiedSet <UnifiedIdentifier> names  = null,
     UnifiedPropertyDefinitionPart adder   = null,
     UnifiedPropertyDefinitionPart remover = null)
 {
     return(new UnifiedEventDefinition {
         Annotations = annotations,
         Modifiers = modifiers,
         Type = type,
         Names = names,
         Adder = adder,
         Remover = remover,
     });
 }
 public static UnifiedPropertyDefinition Create(
     UnifiedSet <UnifiedAnnotation> annotations = null,
     UnifiedSet <UnifiedModifier> modifiers     = null,
     UnifiedType type = null, UnifiedIdentifier name = null,
     UnifiedSet <UnifiedParameter> parameters = null,
     UnifiedPropertyDefinitionPart getter     = null,
     UnifiedPropertyDefinitionPart setter     = null)
 {
     return(new UnifiedPropertyDefinition {
         Annotations = annotations,
         Modifiers = modifiers,
         Type = type,
         Name = name,
         Parameters = parameters,
         Getter = getter,
         Setter = setter,
     });
 }