public ApplicationSchemaDefinition( String applicationName, string title, string schemaId, SchemaStereotype stereotype, SchemaMode?mode, ClientPlatform?platform, bool @abstract, IList <IApplicationDisplayable> displayables, ApplicationSchemaDefinition parentSchema, ApplicationCommandSchema commandSchema) { if (displayables == null) { throw new ArgumentNullException("displayables"); } ApplicationName = applicationName; Platform = platform; Displayables = displayables; ParentSchema = parentSchema; SchemaId = schemaId; Stereotype = stereotype; Abstract = @abstract; Mode = mode; CommandSchema = commandSchema; Title = title; }
protected bool Equals(ApplicationSchemaDefinition other) { return(string.Equals(SchemaId, other.SchemaId) && Mode == other.Mode && string.Equals(ApplicationName, other.ApplicationName) && Platform == other.Platform); }